Skip to content

Using an alternative migration engine #307

Answered by eandre
Minivera asked this question in Help
Discussion options

You must be logged in to vote

Understanding the structure of the database is critically important for many of the future improvements we want to make to Encore, like improving the developer experience around writing database queries, providing support for GraphQL, and better application observability. The current way of handling migrations doesn't really live up to that, as you point out.

For those reasons improving how Encore handles database migrations has been a long-standing goal, that we haven't quite gotten around to just yet. Like you pointed out, SQL for migrations has a lot of downsides. It's almost impossible to parse, is nobody's favorite language, and is highly specific to relational databases. As it is to…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Minivera
Comment options

Answer selected by Minivera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants