what tools do you recommend for database migration ? #89
Replies: 7 comments 2 replies
-
Personally, I prefer to roll my own - and not use any external tools. Then I create a small node program or bash script that runs each script in a transaction.
I will come back with a complete running example later this week or early next week. If you prefer an external tool, you could use Liquibase or Flyway. |
Beta Was this translation helpful? Give feedback.
-
I promised to give you a full example. But then I got the flu or something and was unable to work. I will come back to you. |
Beta Was this translation helpful? Give feedback.
-
other simple tools ? |
Beta Was this translation helpful? Give feedback.
-
There is something called db-migrate, but you still have to write manual sql. I have never tested it. But it has a reasonable amount of downloads and latest release on npm was 6 months ago. |
Beta Was this translation helpful? Give feedback.
-
Hi @lroal , |
Beta Was this translation helpful? Give feedback.
-
The migration tool you're looking at might not be the best choice because:
|
Beta Was this translation helpful? Give feedback.
-
@francelwebdev What if you could generate a prisma schema via command cli ? |
Beta Was this translation helpful? Give feedback.
-
what tools do you recommend for database migration ?
Beta Was this translation helpful? Give feedback.
All reactions