From 892e77b1001b368fd5e683168602ff88d4c391af Mon Sep 17 00:00:00 2001 From: Sadibhatla <121067659+Sadibhatla@users.noreply.github.com> Date: Wed, 15 Nov 2023 11:38:04 -0800 Subject: [PATCH] Revert "5795-Creating the new partitions for the new coverage table (#1292)" This reverts commit c055a017204867fa6640c04d65ff7ad3eb1f3da5. --- .../db/changelog/db.changelog-master.yaml | 5 +- .../test_only/coverage-fake-partitions.sql | 8 +-- .../v2023/extend_coverage_partition.sql | 61 ------------------- 3 files changed, 2 insertions(+), 72 deletions(-) delete mode 100644 common/src/main/resources/db/changelog/v2023/extend_coverage_partition.sql diff --git a/common/src/main/resources/db/changelog/db.changelog-master.yaml b/common/src/main/resources/db/changelog/db.changelog-master.yaml index 9810c7ec4f..60dbd05cfc 100644 --- a/common/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/common/src/main/resources/db/changelog/db.changelog-master.yaml @@ -157,10 +157,7 @@ databaseChangeLog: file: db/changelog/v2023/add_columns_to_coverage.sql - include: file: db/changelog/v2023/add_optout_property.sql - - include: - file: db/changelog/v2023/extend_coverage_partition.sql - include: file: db/changelog/v2023/create_current_mbi_table.sql - include: - file: db/changelog/v2023/create_current_mbi_procedure.sql - + file: db/changelog/v2023/create_current_mbi_procedure.sql \ No newline at end of file diff --git a/common/src/main/resources/db/changelog/test_only/coverage-fake-partitions.sql b/common/src/main/resources/db/changelog/test_only/coverage-fake-partitions.sql index d549508733..a77172e271 100644 --- a/common/src/main/resources/db/changelog/test_only/coverage-fake-partitions.sql +++ b/common/src/main/resources/db/changelog/test_only/coverage-fake-partitions.sql @@ -19,10 +19,4 @@ create table if not exists tst_2022 partition of tst for values in (2022); create table if not exists tst_2023 partition of tst - for values in (2023); - -create table if not exists tst_2024 partition of tst - for values in (2024); - -create table if not exists tst_2025 partition of tst - for values in (2025); \ No newline at end of file + for values in (2023); \ No newline at end of file diff --git a/common/src/main/resources/db/changelog/v2023/extend_coverage_partition.sql b/common/src/main/resources/db/changelog/v2023/extend_coverage_partition.sql deleted file mode 100644 index 91812d776d..0000000000 --- a/common/src/main/resources/db/changelog/v2023/extend_coverage_partition.sql +++ /dev/null @@ -1,61 +0,0 @@ ---changeset AB2D-5795 sadibhatla - -create table sandbox_2024 partition of sandbox - for values in (2024); -create table sandbox_2025 partition of sandbox - for values in (2025); - -create table coverage_anthem_united_2024 partition of coverage_anthem_united - for values in (2024); -create table coverage_anthem_united_2025 partition of coverage_anthem_united - for values in (2025); - -create table coverage_bcbs_2024 partition of coverage_bcbs - for values in (2024); -create table coverage_bcbs_2025 partition of coverage_bcbs - for values in (2025); - -create table coverage_centene_2024 partition of coverage_centene - for values in (2024); -create table coverage_centene_2025 partition of coverage_centene - for values in (2025); - -create table coverage_cigna1_2024 partition of coverage_cigna1 - for values in (2024); -create table coverage_cigna1_2025 partition of coverage_cigna1 - for values in (2025); - -create table coverage_cigna2_2024 partition of coverage_cigna2 - for values in (2024); -create table coverage_cigna2_2025 partition of coverage_cigna2 - for values in (2025); - -create table coverage_cvs_2024 partition of coverage_cvs - for values in (2024); -create table coverage_cvs_2025 partition of coverage_cvs - for values in (2025); - -create table coverage_humana_2024 partition of coverage_humana - for values in (2024); -create table coverage_humana_2025 partition of coverage_humana - for values in (2025); - -create table coverage_united1_2024 partition of coverage_united1 - for values in (2024); -create table coverage_united1_2025 partition of coverage_united1 - for values in (2025); - -create table coverage_united_2024 partition of coverage_united2 - for values in (2024); -create table coverage_united_2025 partition of coverage_united2 - for values in (2025); - -create table coverage_mutual_dean_clear_cambia_rite_2024 partition of coverage_mutual_dean_clear_cambia_rite - for values in (2024); -create table coverage_mutual_dean_clear_cambia_rite_2025 partition of coverage_mutual_dean_clear_cambia_rite - for values in (2025); - -create table coverage_misc_2024 partition of coverage_misc - for values in (2024); -create table coverage_misc_2025 partition of coverage_misc - for values in (2025);