From 9a8471a78caf7975b4d54b6b99a546d25315f665 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sat, 9 Nov 2024 11:54:20 -0500 Subject: [PATCH] Add created_on column to newsgroup table --- db/newsgroup.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/db/newsgroup.sql b/db/newsgroup.sql index e9edf5b..4fceaec 100644 --- a/db/newsgroup.sql +++ b/db/newsgroup.sql @@ -2,6 +2,7 @@ begin transaction; create table newsgroup ( id INTEGER PRIMARY KEY NOT NULL, + created_on DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, name TEXT NOT NULL, description TEXT NOT NULL );