diff --git a/cmd/milmove/gen_disable_certs_migration.go b/cmd/milmove/gen_disable_certs_migration.go index f15d02f48c1..a8e49f48f2d 100644 --- a/cmd/milmove/gen_disable_certs_migration.go +++ b/cmd/milmove/gen_disable_certs_migration.go @@ -34,7 +34,7 @@ DELETE FROM users_roles where user_id = (select id from users where okta_email = '{{.Fingerprint}}@api.move.mil'); -UPDTE users +UPDATE users SET active=false WHERE okta_email='{{.Fingerprint}}@api.move.mil'; diff --git a/migrations/app/migrations_manifest.txt b/migrations/app/migrations_manifest.txt index 29ef95cb5e9..85e8f54034a 100644 --- a/migrations/app/migrations_manifest.txt +++ b/migrations/app/migrations_manifest.txt @@ -898,4 +898,5 @@ 20240206173201_update_shipment_address_update_table_sit_and_distance_columns.up.sql 20240207173709_updateTransportationOffices.up.sql 20240212150834_20240212_disable_homesafe_stg_cert.up.sql +20240215151854_20240215_remove_expired_homesafe_prd_cert.up.sql 20240214213247_updateTransportationOfficesGbloc.up.sql diff --git a/migrations/app/secure/20240215151854_20240215_remove_expired_homesafe_prd_cert.up.sql b/migrations/app/secure/20240215151854_20240215_remove_expired_homesafe_prd_cert.up.sql new file mode 100644 index 00000000000..f9862f58a7c --- /dev/null +++ b/migrations/app/secure/20240215151854_20240215_remove_expired_homesafe_prd_cert.up.sql @@ -0,0 +1,4 @@ +-- Local test migration. +-- This will be run on development environments. +-- It should mirror what you intend to apply on prd/stg/exp/demo +-- DO NOT include any sensitive data.