Skip to content
Snippets Groups Projects
Commit c0dcedf6 authored by Ludovic Claude's avatar Ludovic Claude
Browse files

Store dataset filters in the database

parent e990e22a
No related branches found
No related tags found
No related merge requests found
--
-- Name: query_covariable; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE query_training_datasets (
id bigint NOT NULL,
code character varying(255) NOT NULL
);
ALTER TABLE query_training_datasets OWNER TO postgres;
ALTER TABLE ONLY query_training_datasets
ADD CONSTRAINT fk_query_training_datasets FOREIGN KEY (code) REFERENCES variable(code);
CREATE TABLE query_testing_datasets (
id bigint NOT NULL,
code character varying(255) NOT NULL
);
ALTER TABLE query_testing_datasets OWNER TO postgres;
ALTER TABLE ONLY query_testing_datasets
ADD CONSTRAINT fk_query_testing_datasets FOREIGN KEY (code) REFERENCES variable(code);
CREATE TABLE query_validation_datasets (
id bigint NOT NULL,
code character varying(255) NOT NULL
);
ALTER TABLE query_validation_datasets OWNER TO postgres;
ALTER TABLE ONLY query_validation_datasets
ADD CONSTRAINT fk_query_validation_datasets FOREIGN KEY (code) REFERENCES variable(code);
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment