Skip to content
Snippets Groups Projects
Commit ca51febf authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #000 add thes

parent c129d07c
No related branches found
No related tags found
No related merge requests found
......@@ -875,4 +875,36 @@ ALTER TABLE mlb_coll_ext DROP COLUMN IF EXISTS recommendation_limit_date;
ALTER TABLE mlb_coll_ext ADD COLUMN recommendation_limit_date timestamp without time zone default NULL;
-- Change date_note type
ALTER TABLE notes ALTER COLUMN date_note TYPE timestamp without time zone;
\ No newline at end of file
ALTER TABLE notes ALTER COLUMN date_note TYPE timestamp without time zone;
CREATE SEQUENCE thesaurus_id_seq
INCREMENT 1
MINVALUE 1
MAXVALUE 9223372036854775807
START 1
CACHE 1;
DROP TABLE thesaurus;
CREATE TABLE thesaurus
(
thesaurus_id bigint NOT NULL DEFAULT nextval('thesaurus_id_seq'::regclass),
thesaurus_name character varying(255) NOT NULL,
thesaurus_description text,
thesaurus_name_associate character varying(255),
thesaurus_parent_id character varying(255),
creation_date timestamp without time zone,
CONSTRAINT thesaurus_pkey PRIMARY KEY (thesaurus_id)
)
WITH (
OIDS=FALSE
);
CREATE TABLE thesaurus_res
(
res_id bigint NOT NULL,
thesaurus_id bigint NOT NULL
)
WITH (
OIDS=FALSE
);
\ No newline at end of file
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