diff --git a/migrations/3 - TTS.sql b/migrations/3 - TTS.sql index c865bfa..c66a8f7 100644 --- a/migrations/3 - TTS.sql +++ b/migrations/3 - TTS.sql @@ -1,4 +1,4 @@ -- 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 UPDATE 'accounts' SET 'ttsOverride' = 0 WHERE 'ttsOverride' IS NULL; \ No newline at end of file diff --git a/migrations/4 - Add Cooldown.sql b/migrations/4 - Add Cooldown.sql new file mode 100644 index 0000000..5ee2637 --- /dev/null +++ b/migrations/4 - Add Cooldown.sql @@ -0,0 +1,2 @@ +-- Add ttsOverride column to the accounts table +ALTER TABLE 'accounts' ADD COLUMN IF NOT EXISTS 'cooldown' TEXT; \ No newline at end of file