mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-02 03:28:00 -05:00
8 lines
296 B
SQL
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;
|