summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-10-24 11:36:57 +0200
committerYorhel <git@yorhel.nl>2009-10-24 11:36:57 +0200
commit0557a463cf3e1b2cd5dbb4f799a2d08c9a6cd789 (patch)
treecec652f46a1e893578aef16e35d157d63a27cb6c /util
parent8ed189803adf0e8cd47e7be0566b4ca94bd7448b (diff)
Added Spawned <> Originated from producer relation
Diffstat (limited to 'util')
-rw-r--r--util/dump.sql2
-rw-r--r--util/updates/update_2.8.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/dump.sql b/util/dump.sql
index c04273b6..9f8710f8 100644
--- a/util/dump.sql
+++ b/util/dump.sql
@@ -8,7 +8,7 @@ CREATE LANGUAGE plpgsql;
CREATE TYPE anime_type AS ENUM ('tv', 'ova', 'mov', 'oth', 'web', 'spe', 'mv');
CREATE TYPE dbentry_type AS ENUM ('v', 'r', 'p');
CREATE TYPE medium AS ENUM ('cd', 'dvd', 'gdr', 'blr', 'flp', 'mrt', 'mem', 'umd', 'nod', 'in', 'otc');
-CREATE TYPE producer_relation AS ENUM ('old', 'new', 'par', 'sub', 'imp', 'ipa');
+CREATE TYPE producer_relation AS ENUM ('old', 'new', 'sub', 'par', 'imp', 'ipa', 'spa', 'ori');
CREATE TYPE release_type AS ENUM ('complete', 'partial', 'trial');
CREATE TYPE vn_relation AS ENUM ('seq', 'preq', 'set', 'alt', 'char', 'side', 'par', 'ser', 'fan', 'orig');
diff --git a/util/updates/update_2.8.sql b/util/updates/update_2.8.sql
index e299e608..3c1d7398 100644
--- a/util/updates/update_2.8.sql
+++ b/util/updates/update_2.8.sql
@@ -34,7 +34,7 @@ ALTER TABLE vn_relations ALTER COLUMN relation TYPE vn_relation USING
-- producer relations
-CREATE TYPE producer_relation AS ENUM ('old', 'new', 'par', 'sub', 'imp', 'ipa');
+CREATE TYPE producer_relation AS ENUM ('old', 'new', 'sub', 'par', 'imp', 'ipa', 'spa', 'ori');
CREATE TABLE producers_relations (
pid1 integer NOT NULL REFERENCES producers_rev (id),
pid2 integer NOT NULL REFERENCES producers (id),