Skip to content

Generate sql file for migrations #1520

Answered by B4nan
SonnyMiel asked this question in Q&A
Discussion options

You must be logged in to vote

Nope, you cant have raw sql file, but the migration file pretty much consists only of raw sql, so not sure if that should matter.

If you dont want to be dependent on the ORM, dont use migrations from the ORM I guess? :] You could still use the SchemaGenerator to do the schema diffing (the hard part).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SonnyMiel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants