Hello there!
I have made a SurrealDB driver and i am looking into what migration system I could use alongside it and came across this one here. :)
The simple architecture would allow me to quite easily, without writing a dialect or something like it, write my migrations in plain SQL and possibly use some Go to help in certain cases.
I have two questions though:
- Where exactly is the migration state saved?
- Are there Pre-/Post hooks (or a similiar mechanism) that I could use to grab the database configuration, create the connection and pass that to the migrations? This would simplify things a bit and avoid running into the DRY-pattern.
Thank you very much and kind regards,
Ingwie
Hello there!
I have made a SurrealDB driver and i am looking into what migration system I could use alongside it and came across this one here. :)
The simple architecture would allow me to quite easily, without writing a dialect or something like it, write my migrations in plain SQL and possibly use some Go to help in certain cases.
I have two questions though:
Thank you very much and kind regards,
Ingwie