aboutsummaryrefslogtreecommitdiff
path: root/databaseschema.psql
diff options
context:
space:
mode:
authorknotteye <knotteye@airmail.cc>2021-07-01 17:56:04 -0500
committerknotteye <knotteye@airmail.cc>2021-07-01 17:56:04 -0500
commit4e3848cadbb3fd89b94a7ef24838173939d198db (patch)
tree06ea5434986b2b9c00e392a7d44b93d7eae23668 /databaseschema.psql
parent638a03b458b71564b1db439e6386d7dbf2a5181c (diff)
Add a list of local boards and server news
Diffstat (limited to 'databaseschema.psql')
-rw-r--r--databaseschema.psql8
1 files changed, 7 insertions, 1 deletions
diff --git a/databaseschema.psql b/databaseschema.psql
index e12813e..43767f3 100644
--- a/databaseschema.psql
+++ b/databaseschema.psql
@@ -216,7 +216,13 @@ owner varchar(100),
file varchar(100)
);
+CREATE TABLE IF NOT EXISTS newsItem(
+title text,
+content text,
+time bigint
+);
+
ALTER TABLE actor ADD COLUMN IF NOT EXISTS publicKeyPem varchar(100) default '';
ALTER TABLE activitystream ADD COLUMN IF NOT EXISTS sensitive boolean default false;
-ALTER TABLE cacheactivitystream ADD COLUMN IF NOT EXISTS sensitive boolean default false; \ No newline at end of file
+ALTER TABLE cacheactivitystream ADD COLUMN IF NOT EXISTS sensitive boolean default false;