Replies: 1 comment
-
For the first point, what I can think of is that if we migrate while the api server is starting up, and the api server is not yet ready, but the migrate is in progress, the request may not be responded to. Hope to get more opinions. :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my previous work experience, we usually used versioned migration tools like golang-migrate to manage and execute migrate files, and we would have a dedicated runner to perform migrate operations. But I'm currently working on a project that uses gorm's automigrate when the api server is started, so I'm wondering
Beta Was this translation helpful? Give feedback.
All reactions