Added new database upgrade script, converted DDL scripts to new format

This commit is contained in:
Aleksander Machniak
2013-01-09 15:57:29 +01:00
parent 64e218bd13
commit b7e7c8f950
58 changed files with 1296 additions and 1085 deletions

View File

@@ -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');