Skip to content

fix(data): audit and deduplicate migration sources (#655)#786

Open
Jerryvic911 wants to merge 1 commit into
Calebux:mainfrom
Jerryvic911:fix/655-audit-duplicate-migration-sources
Open

fix(data): audit and deduplicate migration sources (#655)#786
Jerryvic911 wants to merge 1 commit into
Calebux:mainfrom
Jerryvic911:fix/655-audit-duplicate-migration-sources

Conversation

@Jerryvic911
Copy link
Copy Markdown
Contributor

@Jerryvic911 Jerryvic911 commented May 31, 2026

  • Archive all backend/migrations/*.sql to backend/migrations/_archived/
  • Add supabase/migrations/20260531000000_reconcile_renewal_approvals.sql to reconcile schema differences between the two migration trees
  • Add scripts/check-no-backend-migrations.sh CI guard
  • Add .github/workflows/migration-audit.yml to enforce single source of truth
  • Update CONTRIBUTING.md with migration rules

Closes #655

Description

Briefly describe what this PR does.


Related Issue

Closes #655


Test Plan

  • Tested locally
  • Verified expected behavior
  • No regressions introduced

Screenshots (if applicable)


Checklist

  • Code builds successfully
  • Tests pass
  • Follows project conventions
  • No sensitive data exposed

- Archive all backend/migrations/*.sql to backend/migrations/_archived/
- Add supabase/migrations/20260531000000_reconcile_renewal_approvals.sql
  to reconcile schema differences between the two migration trees
- Add scripts/check-no-backend-migrations.sh CI guard
- Add .github/workflows/migration-audit.yml to enforce single source of truth
- Update CONTRIBUTING.md with migration rules

Closes Calebux#655
@Jerryvic911 Jerryvic911 requested a review from Calebux as a code owner May 31, 2026 23:37
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 31, 2026

@Jerryvic911 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

[P0] Audit duplicate migration sources between supabase/ and backend/migrations/

1 participant