From abdbf3dd5c94d476de17aa6dc8e922c977f9e515 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Tue, 19 Mar 2019 09:06:19 +0100
Subject: [PATCH] database contains information about model annotations

---
 .../V12.3.0.20190319__model_annotations.sql       | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 persist/src/main/resources/db/migration/12.3.0~alpha.0/V12.3.0.20190319__model_annotations.sql

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 0000000000..672fb1fdf5
--- /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
+);
-- 
GitLab