Add `scripts/decomposition/generate-loose-foreign-key.rb` script
This adds a helper script to automate loose foreign key swap. Script does: - create branch - creates templated migration - runs migrations to commit `db/structure.sql` - updates YMLs for LFK - updates specs for LFK - generates LFK spec in a model - commits - pushes - provides MR template
Showing
This diff is collapsed.
Please register or sign in to comment