Remove TODO constraint for editor from table title, we're not dealing with that

This commit is contained in:
flyingscorpio@clevo 2023-01-10 21:32:38 +01:00
parent 6bb63b6861
commit 1d0d8fdba8

View file

@ -1,9 +1,5 @@
-- Your SQL goes here
-- TODO: add constraints for editor (foreign key), find a way to get dynamic size array with this constraint.
-- This constraint is shown by "relations_editeurs".
-- Maybe same for "issns", if we need it.
CREATE TABLE title (
id SERIAL PRIMARY KEY,
mirabelid INTEGER NOT NULL,
@ -19,23 +15,4 @@ CREATE TABLE title (
langues TEXT[] NOT NULL,
liens TEXT[] NOT NULL,
url_revue_mirabel VARCHAR
-- "issns": [
-- {
-- "bnfark": "cb344022072",
-- "issn": "0982-2321",
-- "issnl": "0982-2321",
-- "statut": "valide",
-- "sudocnoholding": false,
-- "sudocppn": "104192186",
-- "support": "papier",
-- "worldcatocn": 474295645
-- }
-- ],
-- "relations_editeurs": [
-- {
-- "editeur": "Groupe de réflexion inter et transdisciplinaire",
-- "editeur_id": 1345,
-- "precedent": false
-- }
-- ]
)