Skip to content
Snippets Groups Projects
Commit 34eb385d authored by NFC's avatar NFC
Browse files

added collections table

parent 6f349e00
No related branches found
No related tags found
No related merge requests found
Pipeline #13904 passed
...@@ -151,3 +151,12 @@ CREATE TABLE job ( ...@@ -151,3 +151,12 @@ CREATE TABLE job (
); );
CREATE INDEX owner_idx ON job USING btree(owner_id); CREATE INDEX owner_idx ON job USING btree(owner_id);
CREATE TABLE collections (
collection_id SERIAL NOT NULL,
title VARCHAR NOT NULL,
owner_id VARCHAR NOT NULL,
PRIMARY KEY (collection_id),
FOREIGN KEY (owner_id) REFERENCES users (user_id)
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment