Skip to content

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

Merged
Calebux merged 1 commit into
Calebux:mainfrom
Jerryvic911:fix/655-audit-duplicate-migration-sources
Jun 2, 2026
Merged

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

Conversation

@Jerryvic911

@Jerryvic911 Jerryvic911 commented May 31, 2026

Copy link
Copy Markdown
Contributor
  • 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

drips-wave Bot commented May 31, 2026

Copy link
Copy Markdown

@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

@Calebux Calebux merged commit 363756f into Calebux:main Jun 2, 2026
18 of 28 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.

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

2 participants