schema: fix PostgreSQL data type
This commit is contained in:
parent
7467861fca
commit
aea69c42bc
|
@ -1,5 +1,5 @@
|
||||||
ALTER TABLE director_datalist_entry
|
ALTER TABLE director_datalist_entry
|
||||||
ADD COLUMN allowed_roles varying(255) DEFAULT NULL;
|
ADD COLUMN allowed_roles character varying(255) DEFAULT NULL;
|
||||||
|
|
||||||
INSERT INTO director_schema_migration
|
INSERT INTO director_schema_migration
|
||||||
(schema_version, migration_time)
|
(schema_version, migration_time)
|
||||||
|
|
|
@ -170,7 +170,7 @@ CREATE TABLE director_datalist_entry (
|
||||||
entry_name character varying(255) NOT NULL,
|
entry_name character varying(255) NOT NULL,
|
||||||
entry_value text DEFAULT NULL,
|
entry_value text DEFAULT NULL,
|
||||||
format enum_property_format,
|
format enum_property_format,
|
||||||
allowed_roles varying(255) DEFAULT NULL,
|
allowed_roles character varying(255) DEFAULT NULL,
|
||||||
PRIMARY KEY (list_id, entry_name),
|
PRIMARY KEY (list_id, entry_name),
|
||||||
CONSTRAINT director_datalist_entry_datalist
|
CONSTRAINT director_datalist_entry_datalist
|
||||||
FOREIGN KEY (list_id)
|
FOREIGN KEY (list_id)
|
||||||
|
|
Loading…
Reference in New Issue