From cc7ef143cf32cb28cfc639876addc564b49cd982 Mon Sep 17 00:00:00 2001 From: Jon Pacheco Date: Tue, 28 Jan 2020 15:10:09 +0000 Subject: [PATCH] Make "done" attribute not null --- examples/todos-postgres/schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/todos-postgres/schema.sql b/examples/todos-postgres/schema.sql index 0ae99a33..51b23fe2 100644 --- a/examples/todos-postgres/schema.sql +++ b/examples/todos-postgres/schema.sql @@ -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 );