Skip to content

Commit

Permalink
5795-Creating the new partitions for the new coverage table
Browse files Browse the repository at this point in the history
  • Loading branch information
Sadibhatla committed Oct 31, 2023
1 parent da7c005 commit 1a07dd0
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,6 @@ databaseChangeLog:
- include:
file: db/changelog/v2023/add_columns_to_coverage.sql
- include:
file: db/changelog/v2023/add_optout_property.sql
file: db/changelog/v2023/add_optout_property.sql
- include:
file: db/changelog/v2023/extend_coverage_partition.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
--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);

0 comments on commit 1a07dd0

Please sign in to comment.