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

FEAT #9284 SQL

parent 6fb2b901
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,18 @@ DO $$ BEGIN
END IF;
END$$;
DROP TABLE IF EXISTS exports_templates;
CREATE TABLE exports_templates
(
id serial NOT NULL,
user_id INTEGER NOT NULL,
delimiter character varying(3) NOT NULL,
data json DEFAULT '[]' NOT NULL,
CONSTRAINT exports_templates_pkey PRIMARY KEY (id),
CONSTRAINT exports_templates_unique_key UNIQUE (user_id)
)
WITH (OIDS=FALSE);
/* RE-CREATE VIEW*/
CREATE OR REPLACE VIEW res_view_letterbox AS
SELECT r.tablename,
......
......@@ -2180,3 +2180,14 @@ send_date timestamp without time zone,
CONSTRAINT emails_pkey PRIMARY KEY (id)
)
WITH (OIDS=FALSE);
CREATE TABLE exports_templates
(
id serial NOT NULL,
user_id INTEGER NOT NULL,
delimiter character varying(3) NOT NULL,
data json DEFAULT '[]' NOT NULL,
CONSTRAINT exports_templates_pkey PRIMARY KEY (id),
CONSTRAINT exports_templates_unique_key UNIQUE (user_id)
)
WITH (OIDS=FALSE);
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