Commit db5710bc authored by Kamil Trzciński's avatar Kamil Trzciński

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
parent 138725b9
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment