summaryrefslogtreecommitdiff
path: root/db/0-create.psql
diff options
context:
space:
mode:
Diffstat (limited to 'db/0-create.psql')
-rw-r--r--db/0-create.psql3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/0-create.psql b/db/0-create.psql
index 3cb7236..3a8f1c4 100644
--- a/db/0-create.psql
+++ b/db/0-create.psql
@@ -21,7 +21,8 @@ CREATE TABLE rooms (
name text NOT NULL,
description text NOT NULL,
created_on timestamp NOT NULL DEFAULT now(),
- admin_only bool NOT NULL DEFAULT false
+ admin_only bool NOT NULL DEFAULT false,
+ active bool NOT NULL DEFAULT true
);
CREATE TABLE messages (