From eb2cbb15fbea6dd6f800598329cd5cc892090d7b Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Thu, 13 Oct 2022 22:22:45 +0200 Subject: save matchplayer had_errors in database --- .../2022-10-13-195242_add_had_errors_to_match_players/down.sql | 1 + .../migrations/2022-10-13-195242_add_had_errors_to_match_players/up.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 planetwars-server/migrations/2022-10-13-195242_add_had_errors_to_match_players/down.sql create mode 100644 planetwars-server/migrations/2022-10-13-195242_add_had_errors_to_match_players/up.sql (limited to 'planetwars-server/migrations') 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 -- cgit v1.2.3