(memberadmin): Data migration.

This commit is contained in:
2023-08-13 10:38:11 +03:00
parent b1361229af
commit 7e6217a2ae

View File

@@ -1013,6 +1013,10 @@ INSERT INTO role_menu_history (menuid, roleid, userid, obtained_at, expires_at)
WHERE rmr.menuid IS NOT NULL;
-- }}}
-- Greeting channels {{{
UPDATE guild_config SET greeting_message = NULL, returning_message = NULL WHERE greeting_channel IS NULL;
UPDATE guild_config SET greeting_channel = NULL WHERE greeting_channel = 1;
-- }}}
INSERT INTO VersionHistory (version, author) VALUES (13, 'v12-v13 migration');