diff options
| author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-02-08 20:13:24 +0100 |
|---|---|---|
| committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-02-08 20:13:24 +0100 |
| commit | fc103599974240cbd5abcfbf2a6f93678e57c2ee (patch) | |
| tree | eb4c62696ded0f5beffd83c42efc475b81882b57 /planetwars-server/migrations | |
| parent | 69f33763ab7ff5876cff23fb90cfd2497b3fe371 (diff) | |
| download | planetwars.dev-fc103599974240cbd5abcfbf2a6f93678e57c2ee.tar.xz planetwars.dev-fc103599974240cbd5abcfbf2a6f93678e57c2ee.zip | |
store demo matches in database
Diffstat (limited to 'planetwars-server/migrations')
| -rw-r--r-- | planetwars-server/migrations/2021-12-13-145111_users/down.sql | 2 | ||||
| -rw-r--r-- | planetwars-server/migrations/2022-01-02-105610_matches/up.sql | 2 |
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, |
