You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree about the large chunks of SQL being unwieldy in YAML.
When you say 'break them out into .sql files' do you mean have .sql files that are referenced in the YAML migration file? Or just discard the entire YAML idea and use plain text files that get parsed somehow into the appropriate up/down sql?
Personally I would generate a pair of SQL files ending with _up.sql and _down.sql and use those. But maybe it's too annoying to have to deal with two files per migration. I just like getting proper syntax highlighting and such.
Just a thought - large chunks SQL in YAML could get awkward. It might be nice to be able to break them out into .sql files.
Feel free to ignore my random bikeshedding. 😄
The text was updated successfully, but these errors were encountered: