diff options
author | Yorhel <git@yorhel.nl> | 2018-09-29 12:51:54 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2018-09-29 12:52:47 +0200 |
commit | 4e3081f530526601d82fbe792ea4c0f9bc9a9c9a (patch) | |
tree | 44eeb9323c7e1af549c5dfa6f540e9c37ef90a0a /util/updates | |
parent | 706f447961d18c36ffdc6be34a6eae40acd01574 (diff) |
Add default spoiler level to tags and use it in spoiler calculation
https://vndb.org/t11296.3
(And I forgot to add update_20180929.sql in the previous commit)
Diffstat (limited to 'util/updates')
-rw-r--r-- | util/updates/update_20180929.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/updates/update_20180929.sql b/util/updates/update_20180929.sql new file mode 100644 index 00000000..bd854f59 --- /dev/null +++ b/util/updates/update_20180929.sql @@ -0,0 +1,2 @@ +ALTER TABLE traits ADD COLUMN defaultspoil smallint NOT NULL DEFAULT 0; +ALTER TABLE tags ADD COLUMN defaultspoil smallint NOT NULL DEFAULT 0; |