summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
Diffstat (limited to 'rust')
-rw-r--r--rust/migrations/2018-05-12-001226_init/up.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/migrations/2018-05-12-001226_init/up.sql b/rust/migrations/2018-05-12-001226_init/up.sql
index fabd2c3f..f4583949 100644
--- a/rust/migrations/2018-05-12-001226_init/up.sql
+++ b/rust/migrations/2018-05-12-001226_init/up.sql
@@ -181,6 +181,7 @@ ALTER TABLE release_rev
-------------------- Inter-Entity Relations
CREATE TABLE release_contrib (
+ id BIGSERIAL PRIMARY KEY,
release_rev BIGSERIAL REFERENCES release_rev(id) NOT NULL,
creator_ident_id UUID REFERENCES creator_ident(id),
stub TEXT,
@@ -196,6 +197,7 @@ CREATE TABLE release_ref (
);
CREATE TABLE file_release (
+ id BIGSERIAL PRIMARY KEY,
file_rev BIGSERIAL REFERENCES file_rev(id) NOT NULL,
target_release_ident_id UUID REFERENCES creator_ident(id) NOT NULL
);