diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-11-22 20:42:34 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-11-22 20:42:34 +0100 |
commit | 1eb81092d7a3e7925ae8e4258aa35a009f911b6e (patch) | |
tree | 48846d3ecd8741e9d7e9748a8557d89068f32c11 /planetwars-server/migrations/2022-11-21-135622_add_is_ranked_to_maps | |
parent | b75c0e15dcd93794f7822ff5dfbfda0fe74f7c2a (diff) | |
download | planetwars.dev-1eb81092d7a3e7925ae8e4258aa35a009f911b6e.tar.xz planetwars.dev-1eb81092d7a3e7925ae8e4258aa35a009f911b6e.zip |
add is_ranked attribute to matches
Diffstat (limited to 'planetwars-server/migrations/2022-11-21-135622_add_is_ranked_to_maps')
-rw-r--r-- | planetwars-server/migrations/2022-11-21-135622_add_is_ranked_to_maps/down.sql | 1 | ||||
-rw-r--r-- | planetwars-server/migrations/2022-11-21-135622_add_is_ranked_to_maps/up.sql | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/planetwars-server/migrations/2022-11-21-135622_add_is_ranked_to_maps/down.sql b/planetwars-server/migrations/2022-11-21-135622_add_is_ranked_to_maps/down.sql new file mode 100644 index 0000000..1165b38 --- /dev/null +++ b/planetwars-server/migrations/2022-11-21-135622_add_is_ranked_to_maps/down.sql @@ -0,0 +1 @@ +ALTER TABLE maps DROP COLUMN is_ranked; diff --git a/planetwars-server/migrations/2022-11-21-135622_add_is_ranked_to_maps/up.sql b/planetwars-server/migrations/2022-11-21-135622_add_is_ranked_to_maps/up.sql new file mode 100644 index 0000000..88abfac --- /dev/null +++ b/planetwars-server/migrations/2022-11-21-135622_add_is_ranked_to_maps/up.sql @@ -0,0 +1 @@ +ALTER TABLE maps ADD COLUMN is_ranked BOOLEAN NOT NULL DEFAULT FALSE; |