diff --git a/internal/db/schema/migrations/oss/postgres/49/01_vault_credentials.up.sql b/internal/db/schema/migrations/oss/postgres/49/01_vault_credentials.up.sql index a2ec8dd29..df4e66ae0 100644 --- a/internal/db/schema/migrations/oss/postgres/49/01_vault_credentials.up.sql +++ b/internal/db/schema/migrations/oss/postgres/49/01_vault_credentials.up.sql @@ -168,7 +168,7 @@ begin; 'This view should only be used when issuing credentials from a Vault credential library. Each row may contain encrypted data. ' 'This view should not be used to retrieve data which will be returned external to boundary.'; - -- Replaced in 99901/02_username_password_domain_vault.up.sql + -- Replaced in 98/02_username_password_domain_vault.up.sql create view credential_vault_library_list_lookup as with password_override (library_id, username_attribute, password_attribute) as ( diff --git a/internal/db/schema/migrations/oss/postgres/63/01_credential_vault_ssh_cert_library.up.sql b/internal/db/schema/migrations/oss/postgres/63/01_credential_vault_ssh_cert_library.up.sql index b1dd23a0d..0b80f5050 100644 --- a/internal/db/schema/migrations/oss/postgres/63/01_credential_vault_ssh_cert_library.up.sql +++ b/internal/db/schema/migrations/oss/postgres/63/01_credential_vault_ssh_cert_library.up.sql @@ -9,7 +9,7 @@ begin; -- Add new constraint that only allows known types -- This replaces the constraint defined in 39/01_static_ssh_private_key_creds_up - -- This constraint is replaced in 99901/01_credential_static_username_password_domain_credential.up.sql + -- This constraint is replaced in 98/01_credential_static_username_password_domain_credential.up.sql alter table credential_type_enm add constraint only_predefined_credential_types_allowed check ( diff --git a/internal/db/schema/migrations/oss/postgres/71/07_targets.up.sql b/internal/db/schema/migrations/oss/postgres/71/07_targets.up.sql index 1fcc5302e..f40b93e84 100644 --- a/internal/db/schema/migrations/oss/postgres/71/07_targets.up.sql +++ b/internal/db/schema/migrations/oss/postgres/71/07_targets.up.sql @@ -56,7 +56,7 @@ begin; drop view target_all_subtypes; -- replaces target_all_subtypes defined in oss/64/01_ssh_targets.up.sql - -- replaced in 99902/02_rdp_targets.up.sql + -- replaced in 98/04_rdp_targets.up.sql create view target_all_subtypes as select public_id, @@ -100,7 +100,7 @@ begin; target_ssh; -- replaces whx_host_dimension_source defined in oss/64/01_ssh_targets.up.sql - -- replaced in 99902/02_rdp_targets.up.sql + -- replaced in 98/04_rdp_targets.up.sql create view whx_host_dimension_source as with host_sources ( @@ -234,7 +234,7 @@ begin; -- The whx_credential_dimension_source view shows the current values in the -- operational tables of the credential dimension. -- Replaces whx_credential_dimension_source defined in oss/64/01_ssh_targets.up.sql.sql - -- Replaced in 99902/02_rdp_targets.up.sql + -- Replaced in 98/04_rdp_targets.up.sql create view whx_credential_dimension_source as with vault_generic_library as ( select vcl.public_id as public_id, diff --git a/internal/db/schema/migrations/oss/postgres/71/14_recording_static_credential.up.sql b/internal/db/schema/migrations/oss/postgres/71/14_recording_static_credential.up.sql index a9dbcb82c..9bdbdba56 100644 --- a/internal/db/schema/migrations/oss/postgres/71/14_recording_static_credential.up.sql +++ b/internal/db/schema/migrations/oss/postgres/71/14_recording_static_credential.up.sql @@ -32,7 +32,7 @@ begin; 'along with the values of those entities at the time of the recording. ' 'These values are also stored in the BSR file.'; - -- This function is updated in 99901/01_credential_static_username_password_domain_credential.up.sql + -- This function is updated in 98/01_credential_static_username_password_domain_credential.up.sql create function insert_recording_static_credentials() returns trigger as $$ begin diff --git a/internal/db/schema/migrations/oss/postgres/78/01_ssh_signed_certs_additional_valid_principals.up.sql b/internal/db/schema/migrations/oss/postgres/78/01_ssh_signed_certs_additional_valid_principals.up.sql index ae9fd9d80..2f77d4d74 100644 --- a/internal/db/schema/migrations/oss/postgres/78/01_ssh_signed_certs_additional_valid_principals.up.sql +++ b/internal/db/schema/migrations/oss/postgres/78/01_ssh_signed_certs_additional_valid_principals.up.sql @@ -6,7 +6,7 @@ begin; alter table credential_vault_ssh_cert_library add column additional_valid_principals text null; -- Replaces view from 63/02_add_ssh_cert_to_vault_cred_library_view.up.sql - -- This view is replaced in 99901/02_username_password_domain_vault.up.sql + -- This view is replaced in 98/02_username_password_domain_vault.up.sql drop view credential_vault_library_issue_credentials; create view credential_vault_library_issue_credentials as with diff --git a/internal/db/schema/migrations/oss/postgres/81/01_deleted_tables_and_triggers.up.sql b/internal/db/schema/migrations/oss/postgres/81/01_deleted_tables_and_triggers.up.sql index 41aba9aba..1d65d241d 100644 --- a/internal/db/schema/migrations/oss/postgres/81/01_deleted_tables_and_triggers.up.sql +++ b/internal/db/schema/migrations/oss/postgres/81/01_deleted_tables_and_triggers.up.sql @@ -23,7 +23,7 @@ begin; -- ids too. -- Note: does not end in _deleted so as -- not to be attached a trigger in the below function. - -- replaced in 99902/02_rdp_targets.up.sql + -- replaced in 98/04_rdp_targets.up.sql create view target_all_subtypes_deleted_view as select public_id, delete_time from target_tcp_deleted diff --git a/internal/db/schema/migrations/oss/postgres/99901/01_credential_static_username_password_domain_credential.up.sql b/internal/db/schema/migrations/oss/postgres/98/01_credential_static_username_password_domain_credential.up.sql similarity index 100% rename from internal/db/schema/migrations/oss/postgres/99901/01_credential_static_username_password_domain_credential.up.sql rename to internal/db/schema/migrations/oss/postgres/98/01_credential_static_username_password_domain_credential.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/99901/02_username_password_domain_vault.up.sql b/internal/db/schema/migrations/oss/postgres/98/02_username_password_domain_vault.up.sql similarity index 100% rename from internal/db/schema/migrations/oss/postgres/99901/02_username_password_domain_vault.up.sql rename to internal/db/schema/migrations/oss/postgres/98/02_username_password_domain_vault.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/99902/01_target_history_base.up.sql b/internal/db/schema/migrations/oss/postgres/98/03_target_history_base.up.sql similarity index 100% rename from internal/db/schema/migrations/oss/postgres/99902/01_target_history_base.up.sql rename to internal/db/schema/migrations/oss/postgres/98/03_target_history_base.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/99902/02_rdp_targets.up.sql b/internal/db/schema/migrations/oss/postgres/98/04_rdp_targets.up.sql similarity index 100% rename from internal/db/schema/migrations/oss/postgres/99902/02_rdp_targets.up.sql rename to internal/db/schema/migrations/oss/postgres/98/04_rdp_targets.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/99903/01_alias_target_constraint.up.sql b/internal/db/schema/migrations/oss/postgres/98/05_alias_target_constraint.up.sql similarity index 100% rename from internal/db/schema/migrations/oss/postgres/99903/01_alias_target_constraint.up.sql rename to internal/db/schema/migrations/oss/postgres/98/05_alias_target_constraint.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/99903/02_target_credential_injection_certificates.up.sql b/internal/db/schema/migrations/oss/postgres/98/06_target_credential_injection_certificates.up.sql similarity index 100% rename from internal/db/schema/migrations/oss/postgres/99903/02_target_credential_injection_certificates.up.sql rename to internal/db/schema/migrations/oss/postgres/98/06_target_credential_injection_certificates.up.sql