summaryrefslogtreecommitdiff
path: root/util/dump.sql
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-10-09 11:45:32 +0200
committerYorhel <git@yorhel.nl>2009-10-09 11:47:54 +0200
commitd43ae33a587743fc0916930e0a39f561f3174a69 (patch)
treedb92a9126357b5cfc826a9506cfe89a6da98bda2 /util/dump.sql
parent9b379e376cbafc8408d8ff3318a39ca2631f510a (diff)
Added producer role (developer/publisher) to DB and release editor
They aren't displayed on the site yet, though.
Diffstat (limited to 'util/dump.sql')
-rw-r--r--util/dump.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/dump.sql b/util/dump.sql
index b43d8c62..10d13b9d 100644
--- a/util/dump.sql
+++ b/util/dump.sql
@@ -103,6 +103,9 @@ CREATE TABLE releases_platforms (
CREATE TABLE releases_producers (
rid integer NOT NULL,
pid integer NOT NULL,
+ developer boolean NOT NULL DEFAULT FALSE,
+ publisher boolean NOT NULL DEFAULT TRUE,
+ CHECK(developer OR publisher),
PRIMARY KEY(pid, rid)
);