From 9fd01a79f046fa8b52013c482ce719d05288c5c3 Mon Sep 17 00:00:00 2001 From: Michael Gaffney Date: Tue, 2 May 2023 07:37:57 -0400 Subject: [PATCH] refactor(sql): Move and rename session recording migration This moves and renames the migration with the session recording table to come after the history table migrations. This allows the session recording table to have foreign key references to the history tables without using alter table statements. --- .../68/{05_history_domain.up.sql => 04_history_domain.up.sql} | 0 .../68/{06_history_triggers.up.sql => 05_history_triggers.up.sql} | 0 .../postgres/68/{07_iam_history.up.sql => 06_iam_history.up.sql} | 0 .../{04_session_recording.up.sql => 07_session_recording.up.sql} | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename internal/db/schema/migrations/oss/postgres/68/{05_history_domain.up.sql => 04_history_domain.up.sql} (100%) rename internal/db/schema/migrations/oss/postgres/68/{06_history_triggers.up.sql => 05_history_triggers.up.sql} (100%) rename internal/db/schema/migrations/oss/postgres/68/{07_iam_history.up.sql => 06_iam_history.up.sql} (100%) rename internal/db/schema/migrations/oss/postgres/68/{04_session_recording.up.sql => 07_session_recording.up.sql} (100%) diff --git a/internal/db/schema/migrations/oss/postgres/68/05_history_domain.up.sql b/internal/db/schema/migrations/oss/postgres/68/04_history_domain.up.sql similarity index 100% rename from internal/db/schema/migrations/oss/postgres/68/05_history_domain.up.sql rename to internal/db/schema/migrations/oss/postgres/68/04_history_domain.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/68/06_history_triggers.up.sql b/internal/db/schema/migrations/oss/postgres/68/05_history_triggers.up.sql similarity index 100% rename from internal/db/schema/migrations/oss/postgres/68/06_history_triggers.up.sql rename to internal/db/schema/migrations/oss/postgres/68/05_history_triggers.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/68/07_iam_history.up.sql b/internal/db/schema/migrations/oss/postgres/68/06_iam_history.up.sql similarity index 100% rename from internal/db/schema/migrations/oss/postgres/68/07_iam_history.up.sql rename to internal/db/schema/migrations/oss/postgres/68/06_iam_history.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/68/04_session_recording.up.sql b/internal/db/schema/migrations/oss/postgres/68/07_session_recording.up.sql similarity index 100% rename from internal/db/schema/migrations/oss/postgres/68/04_session_recording.up.sql rename to internal/db/schema/migrations/oss/postgres/68/07_session_recording.up.sql