pokemon-showdown/databases/migrations/storedbattles/v2.sql
2022-07-27 23:57:31 -05:00

8 lines
296 B
SQL

-- Adds `rated` and `timer` cols to the Postgres `stored_battles` table.
-- Also adds a version tracker
-- Battle rating
ALTER TABLE stored_battles ADD COLUMN rated INTEGER NOT NULL;
-- JSON blob of timer settings, deserialized on load
ALTER TABLE stored_battles ADD COLUMN timer JSON NOT NULL;