-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question. #42
Comments
You'll need to determine how and when you want to run migrations since that affects how you use the tool. Personally, my workflow looks like this:
|
Thanks for your comments. I assume that the cli will create the version table on first run? Because that is what I don't get 😀 .. Do I create it my self or does the migrate app do that? |
Correct, the table used to track the currently applied migration is created by migrate, specifically, by the db driver. |
Hi, First off thanks for a nice tool.
I have created three
func
in go that can migrate up, down or tell me version. But I can't really seem go get my head around how to actually start, like init the whole thing. Right now I have a running instance of cockroach and I have createdinit_up
andinit_down
for all schemas, data etc.Is there a guide or document that describe the initial steps before first migration?
I hope that you get my question, else please tell me to elaborate. Thanks.
The text was updated successfully, but these errors were encountered: