mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-09-28 13:31:41 +00:00
Make "done" attribute not null
This commit is contained in:
parent
4f61390f15
commit
cc7ef143cf
@ -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
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user