Skip to content

Is it possible to apply migrations written in pure SQL? #437

Answered by billy1624
frederikhors asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @frederikhors, you'll need to create a sqlx::Connection for that to work.

You could also define the SeaORM migration in pure SQL like this: https://www.sea-ql.org/SeaORM/docs/migration/writing-migration/#raw-sql

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@frederikhors
Comment options

@billy1624
Comment options

Answer selected by frederikhors
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