diff --git a/persist/src/main/resources/db/migration/12.3.0~alpha.0/V12.3.0.20190319__model_annotations.sql b/persist/src/main/resources/db/migration/12.3.0~alpha.0/V12.3.0.20190319__model_annotations.sql new file mode 100644 index 0000000000000000000000000000000000000000..672fb1fdf525152c3291a8a784c060ed68cf3c1b --- /dev/null +++ b/persist/src/main/resources/db/migration/12.3.0~alpha.0/V12.3.0.20190319__model_annotations.sql @@ -0,0 +1,15 @@ +CREATE TABLE model_miriam_data_table +( + model_id integer NOT NULL, + miriam_data_id integer not null, + + CONSTRAINT model_miriam_data_table_modle_fk FOREIGN KEY (model_id) + REFERENCES model_data_table (id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION, + CONSTRAINT model_miriam_data_table_miriam_data_fk FOREIGN KEY (miriam_data_id) + REFERENCES miriam_data_table (id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION +) +WITH ( + OIDS=FALSE +);