summaryrefslogtreecommitdiff
path: root/SQL/postgres.initial.sql
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-01-09 15:57:29 +0100
committerAleksander Machniak <alec@alec.pl>2013-01-09 15:57:29 +0100
commitb7e7c8f9501850a38705e0a1f18a8ae6e25f1be1 (patch)
tree916116f2fea4c80538c992b833959036c905a9ed /SQL/postgres.initial.sql
parent64e218bd13b948712d79b60f6eae90cf393ec81f (diff)
Added new database upgrade script, converted DDL scripts to new format
Diffstat (limited to 'SQL/postgres.initial.sql')
-rw-r--r--SQL/postgres.initial.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql
index f7b2d96d9..d7dc08f90 100644
--- a/SQL/postgres.initial.sql
+++ b/SQL/postgres.initial.sql
@@ -262,3 +262,16 @@ CREATE TABLE searches (
data text NOT NULL,
CONSTRAINT searches_user_id_key UNIQUE (user_id, "type", name)
);
+
+
+--
+-- Table "system"
+-- Name: system; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE "system" (
+ name varchar(64) NOT NULL PRIMARY KEY,
+ value text
+);
+
+INSERT INTO system (name, value) VALUES ('roundcube-version', '2013011000.sql');