3 ms·
Development databases normally have a small amount of data, so migrations should execute instantly or nearly so no matter how complex they are.
by devit 11y ago
Development databases normally have a small amount of data, so migrations should execute instantly or nearly so no matter how complex they are.
- tempestn 11y agoTrue, but I don't think it negates anything I wrote. You don't keep development migrations simple so they'll run quickly; you keep them simple so they're easy to create and understand. Writing migrations (whether automated or manual) for production is a separate task and even a separate skill from designing the database structure itself, so there's no reason why the two need to be (or should be) combined.