fix sql
This commit is contained in:
parent
f2808e7b1a
commit
6b2dae64d4
|
@ -1,4 +1,4 @@
|
||||||
-- Add ttsOverride column to the accounts table
|
-- Add ttsOverride column to the accounts table
|
||||||
ALTER TABLE 'accounts' ADD COLUMN 'ttsOverride' INTEGER NOT NULL DEFAULT 0;
|
ALTER TABLE 'accounts' ADD COLUMN IF NOT EXISTS 'ttsOverride' INTEGER NOT NULL DEFAULT 0;
|
||||||
-- Retroactively set ttsOverride to 0 for all accounts that dont have it set at all
|
-- Retroactively set ttsOverride to 0 for all accounts that dont have it set at all
|
||||||
UPDATE 'accounts' SET 'ttsOverride' = 0 WHERE 'ttsOverride' IS NULL;
|
UPDATE 'accounts' SET 'ttsOverride' = 0 WHERE 'ttsOverride' IS NULL;
|
2
migrations/4 - Add Cooldown.sql
Normal file
2
migrations/4 - Add Cooldown.sql
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
-- Add ttsOverride column to the accounts table
|
||||||
|
ALTER TABLE 'accounts' ADD COLUMN IF NOT EXISTS 'cooldown' TEXT;
|
Loading…
Reference in a new issue