aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'planetwars-server/migrations')
-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