Skip to content
Snippets Groups Projects
Verified Commit d8030bde authored by Damien's avatar Damien
Browse files

FIx structure.sql

parent 6413457f
No related branches found
No related tags found
No related merge requests found
......@@ -1883,7 +1883,17 @@ CONSTRAINT acknowledgment_receipts_pkey PRIMARY KEY (id)
)
WITH (OIDS=FALSE);
DROP TABLE IF EXISTS indexing_models;
CREATE TABLE custom_fields
(
id serial NOT NULL,
label character varying(256) NOT NULL,
type character varying(256) NOT NULL,
values jsonb,
CONSTRAINT custom_fields_pkey PRIMARY KEY (id),
CONSTRAINT custom_fields_unique_key UNIQUE (label)
)
WITH (OIDS=FALSE);
CREATE TABLE indexing_models
(
id SERIAL NOT NULL,
......@@ -1897,17 +1907,6 @@ CREATE TABLE indexing_models
)
WITH (OIDS=FALSE);
CREATE TABLE indexing_models
(
id SERIAL NOT NULL,
label character varying(256) NOT NULL,
"default" BOOLEAN NOT NULL,
owner INTEGER NOT NULL,
private BOOLEAN NOT NULL,
CONSTRAINT indexing_models_pkey PRIMARY KEY (id)
)
WITH (OIDS=FALSE);
CREATE TABLE indexing_models_fields
(
id SERIAL NOT NULL,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment