summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorsostler <sbostler@gmail.com>2010-05-20 13:22:43 -0400
committersostler <sbostler@gmail.com>2010-05-20 13:22:43 -0400
commitbe5ae0f99e685177d51ff82304eb525e6790ea7d (patch)
tree73e6200538c8128fd1ec8bb1c9f503643f3f1305 /db
parentc500b9133d80d1e9757fa62237f772404e5fa298 (diff)
Enable room disabling
Diffstat (limited to 'db')
-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 (