Conversation
ealexa05
approved these changes
Mar 31, 2026
Contributor
ealexa05
left a comment
There was a problem hiding this comment.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Asana ticket (group of several table requests): https://app.asana.com/1/15492006741476/project/1212830297996795/task/1213833754231118?focus=true