Fixed upgrade.sql script

This commit is contained in:
drigato 2014-11-10 10:37:01 -05:00
parent 77ee84584c
commit 13f6b693d6

View file

@ -1,7 +1,7 @@
CREATE TABLE cloud_file CREATE TABLE cloud_file
( (
id serial NOT NULL, id serial NOT NULL default nextval('cloud_file_id_seq'::regclass),
resource_id text NOT NULL default nextval('cloud_file_id_seq'::regclass), resource_id text NOT NULL,
cc_file_id integer, cc_file_id integer,
CONSTRAINT cloud_file_pkey PRIMARY KEY (id), CONSTRAINT cloud_file_pkey PRIMARY KEY (id),
CONSTRAINT "cloud_file_FK_1" FOREIGN KEY (cc_file_id) CONSTRAINT "cloud_file_FK_1" FOREIGN KEY (cc_file_id)