diff options
| author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-05-28 11:22:44 +0200 |
|---|---|---|
| committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-05-28 11:22:44 +0200 |
| commit | 80c60ac69c9b0d86a4536eeac82cf266eb4430bc (patch) | |
| tree | bc2ac0c803be27395c0297123f0794e1b8904676 /planetwars-server/migrations/2022-04-28-171349_create_rating/up.sql | |
| parent | 643c0e7706ab927ef270e4a5b62ada0c38b651b9 (diff) | |
| parent | fadcda850332f8adb0a4382da9f04f78db3f6d1a (diff) | |
| download | planetwars.dev-80c60ac69c9b0d86a4536eeac82cf266eb4430bc.tar.xz planetwars.dev-80c60ac69c9b0d86a4536eeac82cf266eb4430bc.zip | |
Merge branch 'feature/leaderboard'
Diffstat (limited to 'planetwars-server/migrations/2022-04-28-171349_create_rating/up.sql')
| -rw-r--r-- | planetwars-server/migrations/2022-04-28-171349_create_rating/up.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/planetwars-server/migrations/2022-04-28-171349_create_rating/up.sql b/planetwars-server/migrations/2022-04-28-171349_create_rating/up.sql new file mode 100644 index 0000000..39fe6fe --- /dev/null +++ b/planetwars-server/migrations/2022-04-28-171349_create_rating/up.sql @@ -0,0 +1,7 @@ +-- 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 +)
\ No newline at end of file |
