-
Hi Thank you for developing river! I have a "default"/"main" app (web server) that is running it's own migrations from Particular areas where I'm a bit confused:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I'm not sure if I completely understand this question, but I don't think so. Migrating multiple times will end up with the same result because the latest migration state is read from the database before any new ones are applied.
Yep, that's fine.
It won't cause any trouble straight away, but often running migrations on start up can lead to some fringe problem, which is why a lot of people don't do it. For example:
|
Beta Was this translation helpful? Give feedback.
Not sure if you've checked out the migration docs, but we have examples in there on how to extract the raw SQL for using with your migration framework of choice, or even run them within Go code. As for table name collisions, a…