Commit 05c82042 authored by Luna's avatar Luna 📟

migration.scripts: add 6_emoji_require_colon_true

 - schema: change default on guild_emoji.require_colons to true
parent 6a085c21
Pipeline #37309983 passed with stage
in 6 minutes and 7 seconds
-- require_colons seems to be true for all custom emoji.
ALTER TABLE guild_emoji ALTER COLUMN require_colons SET DEFAULT true;
-- retroactively update all other emojis
UPDATE guild_emoji SET require_colons=true;
......@@ -456,7 +456,7 @@ CREATE TABLE IF NOT EXISTS guild_emoji (
image text REFERENCES icons (hash),
animated bool DEFAULT false,
managed bool DEFAULT false,
require_colons bool DEFAULT false
require_colons bool DEFAULT true
/* Someday I might actually write this.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment