aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'planetwars-server/migrations')
-rw-r--r--planetwars-server/migrations/2021-12-13-145111_users/down.sql2
-rw-r--r--planetwars-server/migrations/2022-01-02-105610_matches/up.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/planetwars-server/migrations/2021-12-13-145111_users/down.sql b/planetwars-server/migrations/2021-12-13-145111_users/down.sql
index 49285a1..b08a12c 100644
--- a/planetwars-server/migrations/2021-12-13-145111_users/down.sql
+++ b/planetwars-server/migrations/2021-12-13-145111_users/down.sql
@@ -1,2 +1,2 @@
-DROP INDEX users_username_index
+DROP INDEX users_username_index;
DROP TABLE users; \ No newline at end of file
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,