summaryrefslogtreecommitdiff
path: root/util/updates
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-03-14 16:44:03 +0100
committerYorhel <git@yorhel.nl>2011-03-15 11:23:33 +0100
commitbf16424bf5173830e2c162dc7dc06e961d5aa0a3 (patch)
tree9493e99c4b6947c2b90b2bca3043db924aaf6cad /util/updates
parent11a7102282f05cd015abdbd8235952b7233f8c09 (diff)
chardb: Added main char field + editing
The field isn't used yet.
Diffstat (limited to 'util/updates')
-rw-r--r--util/updates/update_2.19.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/updates/update_2.19.sql b/util/updates/update_2.19.sql
index 76379e96..313fa567 100644
--- a/util/updates/update_2.19.sql
+++ b/util/updates/update_2.19.sql
@@ -61,7 +61,7 @@ CREATE TABLE chars_rev (
weight smallint NOT NULL DEFAULT 0,
bloodt blood_type NOT NULL DEFAULT 'unknown',
main integer REFERENCES chars (id),
- main_spoil boolean NOT NULL DEFAULT false
+ main_spoil smallint NOT NULL DEFAULT 0
);
ALTER TABLE chars ADD FOREIGN KEY (latest) REFERENCES chars_rev (id) DEFERRABLE INITIALLY DEFERRED;