aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/migrations/2022-01-02-105610_matches/up.sql
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-02-08 20:13:24 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-02-08 20:13:24 +0100
commitfc103599974240cbd5abcfbf2a6f93678e57c2ee (patch)
treeeb4c62696ded0f5beffd83c42efc475b81882b57 /planetwars-server/migrations/2022-01-02-105610_matches/up.sql
parent69f33763ab7ff5876cff23fb90cfd2497b3fe371 (diff)
downloadplanetwars.dev-fc103599974240cbd5abcfbf2a6f93678e57c2ee.tar.xz
planetwars.dev-fc103599974240cbd5abcfbf2a6f93678e57c2ee.zip
store demo matches in database
Diffstat (limited to 'planetwars-server/migrations/2022-01-02-105610_matches/up.sql')
-rw-r--r--planetwars-server/migrations/2022-01-02-105610_matches/up.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-server/migrations/2022-01-02-105610_matches/up.sql b/planetwars-server/migrations/2022-01-02-105610_matches/up.sql
index ace13fd..28db0df 100644
--- a/planetwars-server/migrations/2022-01-02-105610_matches/up.sql
+++ b/planetwars-server/migrations/2022-01-02-105610_matches/up.sql
@@ -1,4 +1,4 @@
-CREATE TYPE match_state AS ENUM ('playing', 'ended');
+CREATE TYPE match_state AS ENUM ('playing', 'finished');
CREATE TABLE matches (
id SERIAL PRIMARY KEY NOT NULL,