Migrations and Factories Keep schema changes safe, testable, and reversible. Commands Rules - Pair each new model with a migration and a factory - If a migration was merged to , never edit it—add a new one - On feature branches, you may amend migrations created on that branch (if not merged) - Seed realistic but minimal datasets in seeder classes; keep huge datasets external Factories - Prefer state modifiers (e.g., ) over boolean flags - Use relationships (e.g., ) in factories to build realistic graphs - Keep factories fast; move expensive setup to seeds where possible Testing - Use factorie…