Skip to content

Chore: Add further tables#142

Merged
MaxAlex merged 1 commit intomainfrom
chore_add_new_tables_03_26
Mar 31, 2026
Merged

Chore: Add further tables#142
MaxAlex merged 1 commit intomainfrom
chore_add_new_tables_03_26

Conversation

@MaxAlex
Copy link
Copy Markdown
Contributor

@MaxAlex MaxAlex commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

@ealexa05 ealexa05 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Make sure to test these in the future. The migration logs are actually more helpful than dmap:

10:13:46.198 [info] == Running 20260330120000 ExCubicIngestion.Repo.Migrations.AddingTables20260330.up/0 forward

10:13:46.228 [debug] QUERY OK source="cubic_tables" db=7.5ms
INSERT INTO "cubic_tables" ("name","s3_prefix","is_active","is_raw","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" ["cubic_ods_qlik__edw_proc_cost_pg_loss_dtl", "cubic/ods_qlik/EDW.PROC_COST_PG_LOSS_DTL/", true, true, ~U[2026-03-31 14:13:46Z], ~U[2026-03-31 14:13:46Z]]

10:13:46.230 [debug] QUERY OK source="cubic_ods_table_snapshots" db=1.0ms
INSERT INTO "cubic_ods_table_snapshots" ("table_id","snapshot_s3_key","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" [204, "cubic/ods_qlik/EDW.PROC_COST_PG_LOSS_DTL/LOAD00000001.csv.gz", ~U[2026-03-31 14:13:46Z], ~U[2026-03-31 14:13:46Z]]

10:13:46.230 [debug] QUERY OK source="cubic_tables" db=0.3ms
INSERT INTO "cubic_tables" ("name","s3_prefix","is_active","is_raw","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" ["cubic_ods_qlik__edw_proc_cost_chgbk_dtl", "cubic/ods_qlik/EDW.PROC_COST_CHGBK_DTL/", true, true, ~U[2026-03-31 14:13:46Z], ~U[2026-03-31 14:13:46Z]]

10:13:46.231 [debug] QUERY OK source="cubic_ods_table_snapshots" db=0.3ms
INSERT INTO "cubic_ods_table_snapshots" ("table_id","snapshot_s3_key","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" [205, "cubic/ods_qlik/EDW.PROC_COST_CHGBK_DTL/LOAD00000001.csv.gz", ~U[2026-03-31 14:13:46Z], ~U[2026-03-31 14:13:46Z]]

10:13:46.231 [debug] QUERY OK source="cubic_tables" db=0.2ms
INSERT INTO "cubic_tables" ("name","s3_prefix","is_active","is_raw","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" ["cubic_ods_qlik__edw_process_cost_summary", "cubic/ods_qlik/EDW.PROCESS_COST_SUMMARY/", true, true, ~U[2026-03-31 14:13:46Z], ~U[2026-03-31 14:13:46Z]]

10:13:46.231 [debug] QUERY OK source="cubic_ods_table_snapshots" db=0.2ms
INSERT INTO "cubic_ods_table_snapshots" ("table_id","snapshot_s3_key","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" [206, "cubic/ods_qlik/EDW.PROCESS_COST_SUMMARY/LOAD00000001.csv.gz", ~U[2026-03-31 14:13:46Z], ~U[2026-03-31 14:13:46Z]]

10:13:46.232 [debug] QUERY OK source="cubic_tables" db=0.2ms
INSERT INTO "cubic_tables" ("name","s3_prefix","is_active","is_raw","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" ["cubic_ods_qlik__edw_frm_crdb_acq_bank_fee_detail", "cubic/ods_qlik/EDW.FRM_CRDB_ACQ_BANK_FEE_DETAIL/", true, true, ~U[2026-03-31 14:13:46Z], ~U[2026-03-31 14:13:46Z]]

10:13:46.232 [debug] QUERY OK source="cubic_ods_table_snapshots" db=0.1ms
INSERT INTO "cubic_ods_table_snapshots" ("table_id","snapshot_s3_key","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" [207, "cubic/ods_qlik/EDW.FRM_CRDB_ACQ_BANK_FEE_DETAIL/LOAD00000001.csv.gz", ~U[2026-03-31 14:13:46Z], ~U[2026-03-31 14:13:46Z]]

10:13:46.232 [debug] QUERY OK source="cubic_tables" db=0.1ms
INSERT INTO "cubic_tables" ("name","s3_prefix","is_active","is_raw","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" ["cubic_ods_qlik__edw_frm_bank_fee_summary", "cubic/ods_qlik/EDW.FRM_BANK_FEE_SUMMARY/", true, true, ~U[2026-03-31 14:13:46Z], ~U[2026-03-31 14:13:46Z]]

10:13:46.233 [debug] QUERY OK source="cubic_ods_table_snapshots" db=0.4ms
INSERT INTO "cubic_ods_table_snapshots" ("table_id","snapshot_s3_key","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" [208, "cubic/ods_qlik/EDW.FRM_BANK_FEE_SUMMARY/LOAD00000001.csv.gz", ~U[2026-03-31 14:13:46Z], ~U[2026-03-31 14:13:46Z]]

10:13:46.233 [info] == Migrated 20260330120000 in 0.0s

@MaxAlex MaxAlex merged commit ef7c69c into main Mar 31, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants