chore(db): renumber migrations before merging llb

This commit is contained in:
irenarindos committed 2025-09-02 15:38:31 -04:00
1 parent e73ee77ea6
commit 0b9b7a5d2a
12 files changed
+8 -8

No files matched your search

@@ -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 (
@@ -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 (
@@ -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,
@@ -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
@@ -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
@@ -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