planetwars.dev/planetwars-server/migrations/2022-04-28-171349_create_rating/up.sql
2022-05-09 19:41:33 +02:00

7 lines
No EOL
265 B
SQL

-- Your SQL goes here
-- this table could later be expanded to include more information,
-- such as rating state (eg. number of matches played) or scope (eg. map)
create table ratings (
bot_id integer PRIMARY KEY REFERENCES bots(id),
rating float NOT NULL
)