aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/migrations/2022-07-23-131936_bot_active_version/down.sql
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-07-23 23:40:25 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-07-23 23:40:25 +0200
commit4a582e8079178a7ac11f2a492e7988fcdaa210cd (patch)
tree1403b3e409e184bb53e0349d7e68e673fe7d7b3c /planetwars-server/migrations/2022-07-23-131936_bot_active_version/down.sql
parentf19a70e710b8bf4605625516aa7e4c0cc7ace2e4 (diff)
downloadplanetwars.dev-4a582e8079178a7ac11f2a492e7988fcdaa210cd.tar.xz
planetwars.dev-4a582e8079178a7ac11f2a492e7988fcdaa210cd.zip
store active version id in bots table
Diffstat (limited to 'planetwars-server/migrations/2022-07-23-131936_bot_active_version/down.sql')
-rw-r--r--planetwars-server/migrations/2022-07-23-131936_bot_active_version/down.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/planetwars-server/migrations/2022-07-23-131936_bot_active_version/down.sql b/planetwars-server/migrations/2022-07-23-131936_bot_active_version/down.sql
new file mode 100644
index 0000000..444fe51
--- /dev/null
+++ b/planetwars-server/migrations/2022-07-23-131936_bot_active_version/down.sql
@@ -0,0 +1,2 @@
+-- This file should undo anything in `up.sql`
+ALTER TABLE bots DROP COLUMN active_version; \ No newline at end of file