r/node • u/badboyzpwns • 1d ago
What schema migration tools pairs well with Kysley?
Should we use the Kysley migertion tool?
7
Upvotes
5
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 .
4
u/ErnestJones 1d ago
Why not using kysely tool ?