summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-16 10:36:23 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-21 15:10:01 -0400
commitc944edfb50e81a8880b02ee5496a29323021331e (patch)
treed728685509e8300260a718b8aa6d780bebb39f8b /db
parentc78772b2748f70acc8158b665218fe53b277a031 (diff)
Add table for configuration settings
Add a table for configuration settings.
Diffstat (limited to 'db')
-rw-r--r--db/laconica.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/laconica.sql b/db/laconica.sql
index 56bd4b1e3..1662ef7a8 100644
--- a/db/laconica.sql
+++ b/db/laconica.sql
@@ -547,3 +547,13 @@ create table deleted_notice (
index deleted_notice_profile_id_idx (profile_id)
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
+
+create table config (
+
+ section varchar(32) comment 'configuration section',
+ setting varchar(32) comment 'configuration setting',
+ value varchar(255) comment 'configuration value',
+
+ constraint primary key (section, setting)
+
+) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;