Skip to content
Snippets Groups Projects
Unverified Commit 6087d7bc authored by Martin Weise's avatar Martin Weise
Browse files

Somehow does not find column seq

parent d6d05b5b
No related branches found
No related tags found
4 merge requests!129New module for citation as they occur multiple,!121Modified logging, modified logging level, modified flasgger endpoint,!113Resolve "Bugs related with Query Service",!109Resolve "Use MariaDB for metadata database"
...@@ -425,9 +425,11 @@ CREATE TABLE IF NOT EXISTS mdb_columns_concepts ...@@ -425,9 +425,11 @@ CREATE TABLE IF NOT EXISTS mdb_columns_concepts
cDBID bigint NOT NULL, cDBID bigint NOT NULL,
tID bigint NOT NULL, tID bigint NOT NULL,
cID bigint NOT NULL, cID bigint NOT NULL,
concept_id bigint REFERENCES mdb_concepts (id), /* mysql does not allow text primary keys */ concept_id bigint NOT NULL,
uri text,
created timestamp NOT NULL DEFAULT NOW(), created timestamp NOT NULL DEFAULT NOW(),
FOREIGN KEY (cDBID, tID, cID) REFERENCES mdb_columns (cDBID, tID, ID), FOREIGN KEY (cDBID, tID, cID) REFERENCES mdb_columns (cDBID, tID, ID),
FOREIGN KEY (concept_id) REFERENCES mdb_concepts (id),
PRIMARY KEY (cDBID, tID, cID) PRIMARY KEY (cDBID, tID, cID)
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment