aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/migrations/2022-10-13-195242_add_had_errors_to_match_players
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-10-13 22:22:45 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-10-13 22:22:45 +0200
commiteb2cbb15fbea6dd6f800598329cd5cc892090d7b (patch)
tree7768204300a54b0bc4e71f3bb3f82519e8aa3196 /planetwars-server/migrations/2022-10-13-195242_add_had_errors_to_match_players
parent2278ecd2584050c28e62f0f5fd8967b81d64cc5b (diff)
downloadplanetwars.dev-eb2cbb15fbea6dd6f800598329cd5cc892090d7b.tar.xz
planetwars.dev-eb2cbb15fbea6dd6f800598329cd5cc892090d7b.zip
save matchplayer had_errors in database
Diffstat (limited to 'planetwars-server/migrations/2022-10-13-195242_add_had_errors_to_match_players')
-rw-r--r--planetwars-server/migrations/2022-10-13-195242_add_had_errors_to_match_players/down.sql1
-rw-r--r--planetwars-server/migrations/2022-10-13-195242_add_had_errors_to_match_players/up.sql1
2 files changed, 2 insertions, 0 deletions
diff --git a/planetwars-server/migrations/2022-10-13-195242_add_had_errors_to_match_players/down.sql b/planetwars-server/migrations/2022-10-13-195242_add_had_errors_to_match_players/down.sql
new file mode 100644
index 0000000..41ee396
--- /dev/null
+++ b/planetwars-server/migrations/2022-10-13-195242_add_had_errors_to_match_players/down.sql
@@ -0,0 +1 @@
+ALTER TABLE match_players DROP COLUMN had_errors; \ No newline at end of file
diff --git a/planetwars-server/migrations/2022-10-13-195242_add_had_errors_to_match_players/up.sql b/planetwars-server/migrations/2022-10-13-195242_add_had_errors_to_match_players/up.sql
new file mode 100644
index 0000000..68ac0b7
--- /dev/null
+++ b/planetwars-server/migrations/2022-10-13-195242_add_had_errors_to_match_players/up.sql
@@ -0,0 +1 @@
+ALTER TABLE match_players ADD COLUMN had_errors boolean; \ No newline at end of file