From 760ce507e7c0dd9dbff6012d353093882a9c8f30 Mon Sep 17 00:00:00 2001 From: Cody Hansen Date: Fri, 1 Sep 2023 10:09:19 -1000 Subject: [PATCH] Moved units migration to 26 --- .../down.sql | 2 +- .../up.sql | 2 +- merlin-server/sql/merlin/applied_migrations.sql | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) rename deployment/hasura/migrations/AerieMerlin/{25_add_units_to_activity_types => 26_add_units_to_activity_types}/down.sql (89%) rename deployment/hasura/migrations/AerieMerlin/{25_add_units_to_activity_types => 26_add_units_to_activity_types}/up.sql (90%) diff --git a/deployment/hasura/migrations/AerieMerlin/25_add_units_to_activity_types/down.sql b/deployment/hasura/migrations/AerieMerlin/26_add_units_to_activity_types/down.sql similarity index 89% rename from deployment/hasura/migrations/AerieMerlin/25_add_units_to_activity_types/down.sql rename to deployment/hasura/migrations/AerieMerlin/26_add_units_to_activity_types/down.sql index 35423f6111..5c48a8142c 100644 --- a/deployment/hasura/migrations/AerieMerlin/25_add_units_to_activity_types/down.sql +++ b/deployment/hasura/migrations/AerieMerlin/26_add_units_to_activity_types/down.sql @@ -11,4 +11,4 @@ comment on column resource_type.definition is e'' alter table mission_model_parameters rename column parameter_definitions to parameters; -call migrations.mark_migration_rolled_back('25'); +call migrations.mark_migration_rolled_back('26'); diff --git a/deployment/hasura/migrations/AerieMerlin/25_add_units_to_activity_types/up.sql b/deployment/hasura/migrations/AerieMerlin/26_add_units_to_activity_types/up.sql similarity index 90% rename from deployment/hasura/migrations/AerieMerlin/25_add_units_to_activity_types/up.sql rename to deployment/hasura/migrations/AerieMerlin/26_add_units_to_activity_types/up.sql index f9e243f782..cc30dee290 100644 --- a/deployment/hasura/migrations/AerieMerlin/25_add_units_to_activity_types/up.sql +++ b/deployment/hasura/migrations/AerieMerlin/26_add_units_to_activity_types/up.sql @@ -11,4 +11,4 @@ comment on column resource_type.definition is e'' alter table mission_model_parameters rename column parameters to parameter_definitions; -call migrations.mark_migration_applied('25'); +call migrations.mark_migration_applied('26'); diff --git a/merlin-server/sql/merlin/applied_migrations.sql b/merlin-server/sql/merlin/applied_migrations.sql index e5120ebbdd..ca39d215ef 100644 --- a/merlin-server/sql/merlin/applied_migrations.sql +++ b/merlin-server/sql/merlin/applied_migrations.sql @@ -28,3 +28,4 @@ call migrations.mark_migration_applied('22'); call migrations.mark_migration_applied('23'); call migrations.mark_migration_applied('24'); call migrations.mark_migration_applied('25'); +call migrations.mark_migration_applied('26');