summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-06-13 18:23:00 +0200
committerYorhel <git@yorhel.nl>2020-06-13 18:23:00 +0200
commit533d5927b2f8fd4909bbb5a30090718646344a35 (patch)
tree714933fdfb99638aa2ecdd5a1bda8f703eecabd3 /util
parent3c0aa2b062738c04c43be663e88346ef8723afe2 (diff)
Chars: Add support for spoiler sex field
Diffstat (limited to 'util')
-rw-r--r--util/updates/2020-06-13-spoil-gender.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/updates/2020-06-13-spoil-gender.sql b/util/updates/2020-06-13-spoil-gender.sql
new file mode 100644
index 00000000..d09cd4d9
--- /dev/null
+++ b/util/updates/2020-06-13-spoil-gender.sql
@@ -0,0 +1,4 @@
+-- Run 'make' first to update editfunc.sql
+ALTER TABLE chars ADD COLUMN spoil_gender gender;
+ALTER TABLE chars_hist ADD COLUMN spoil_gender gender;
+\i sql/editfunc.sql