chore(checks): renumber colliding 051 migrations and fix seed/qa.rs build #285
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/checks-workflow-d6d16df1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Three independently-merged branches each grabbed migration prefix
051(051_mileage_entries.sql,051_payments_amount_positive.sql,051_tax_rate_widen_column.sql), which trips the PMS-198 prefix-uniqueness gate in check.yml. Renumber the two later-merged files by commit date so each prefix is unique again: payments (earliest) keeps051, mileage becomes052, tax-rate-widen becomes053. Update the lone doc-comment reference in mileage_tracking/mod.rs to point at the new filename.The same merges also left src/modules/seed/qa.rs uncompilable: service methods gained an
AuditCtxparameter (create_project,create_project_phase,create_task,create_time_entry,create_work_type,create_task_status) andCreateProjectRequestgained anactual_end_datefield, but the QA seeder was not updated. Thread the existingctxinto the four call sites that already have one in scope, build a localAuditCtx::system(tenant.get())in the two helper methods that do not, and addactual_end_date: Noneto the two seed project literals. With these, the full check.yml suite (migration prefixes, fmt, clippy -D warnings, compile, unit + doc tests) is green.#PMS-379
Superseded: the qa-seed compile fix + 051 migration-prefix de-duplication landed on main via #288 (kept 051_mileage_entries at 051, renumbered the two never-deployed migrations). Closing this duplicate.
Pull request closed