This repository has been archived by the owner on Dec 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 96
It will be nice to have migration functionality. #7
Comments
I would probably put it in manage.py but I haven't had to implement migration in a Flask app using this template so I'm not too sure. |
But you need to register the 'db' command like in this example
And If you do this in manage.py file inside a command function. It will not work. As the command you will fire will be. |
How I managed to do. I made a new file called migration.py with the below code. I don't know how to do this in manage.py.
|
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How do you recommend setting migration with this structure?
The text was updated successfully, but these errors were encountered: