(Tasklist): Make tasklists global.
This commit is contained in:
8
data/migration/v0-v1/migration.sql
Normal file
8
data/migration/v0-v1/migration.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
ALTER TABLE tasklist DROP COLUMN guildid;
|
||||
CREATE INDEX tasklist_users ON tasklist (userid);
|
||||
|
||||
ALTER TABLE tasklist_reward_history DROP COLUMN guildid;
|
||||
CREATE INDEX tasklist_reward_history_users ON tasklist_reward_history (userid, reward_time);
|
||||
|
||||
|
||||
INSERT INTO VersionHistory (version, author) VALUES (1, 'Migration v0-v1');
|
||||
1
data/migration/v0-v1/notes.md
Normal file
1
data/migration/v0-v1/notes.md
Normal file
@@ -0,0 +1 @@
|
||||
The purpose of this migration is to remove the guild dependency on tasklist tasks, so that a user's tasklist is available across all guilds.
|
||||
Reference in New Issue
Block a user