Make "done" attribute not null

This commit is contained in:
Jon Pacheco 2020-01-28 15:10:09 +00:00
parent 4f61390f15
commit cc7ef143cf

View File

@ -1,5 +1,5 @@
CREATE TABLE IF NOT EXISTS todos (
id BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
description TEXT NOT NULL,
done BOOLEAN DEFAULT FALSE
done BOOLEAN NOT NULL DEFAULT FALSE
);