diff --git a/db/newsgroup.sql b/db/newsgroup.sql index 4fceaec..5f18afe 100644 --- a/db/newsgroup.sql +++ b/db/newsgroup.sql @@ -9,9 +9,9 @@ create table newsgroup ( create table newsgroup_message ( id INTEGER PRIMARY KEY NOT NULL, + created_on DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, newsgroup_id INTEGER NOT NULL, message_id TEXT NOT NULL UNIQUE, - created_on DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, sender TEXT NOT NULL, subject TEXT NOT NULL, content TEXT NOT NULL,