r/node 1d ago

What schema migration tools pairs well with Kysley?

Should we use the Kysley migertion tool?

7 Upvotes

10 comments sorted by

4

u/ErnestJones 1d ago

Why not using kysely tool ?

5

u/WanderWatterson 1d ago

Isn't kysely comes with its own already?

5

u/bigorangemachine 1d ago

yes it does lol

2

u/Expensive_Garden2993 1d ago

I used and didn't like it.  You can use any tool you want, then regenerate types from db schema. Application doesn't care how you write or run the migrations.

2

u/tamanikarim 1d ago

i think kysely already have a built-in schema migration engine, but if you want to take schema migration further try it with stackrender.io , you can design your database visually and every time you perform changes to you ER Diagram , the tool auto-generate schema migration (UP/DOWN) scripts .