Skip to content

Commit

Permalink
update vocabulary table creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ralconada-gmv committed Oct 1, 2024
1 parent e77df9b commit 3076b8c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions resources/sql/060_vocabulary-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ CREATE TABLE IF NOT EXISTS edc_vocabulary
created_at BIGINT NOT NULL,
json_schema JSON DEFAULT '{}',
name VARCHAR NOT NULL,
category VARCHAR NOT NULL,
PRIMARY KEY (id)
connector_id VARCHAR NOT NULL,
category VARCHAR NOT NULL
PRIMARY KEY (id, connector_id)
);

COMMENT ON COLUMN edc_vocabulary.json_schema IS 'JSON Schema with the vocabulary';
COMMENT ON COLUMN edc_vocabulary.json_schema IS 'JSON Schema with the vocabulary';

0 comments on commit 3076b8c

Please sign in to comment.