flask db migrate for 'creat view' / 'drop view' #1102
Unanswered
learnersbox
asked this question in
Usage Questions
Replies: 1 comment
-
alembic autogenerate does not detect views. so you need to edit your migration files directly in order to add new views. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
How to integrate CREATE VIEW and DROP View as shown in wiki "Views" ?
I have added the code in my models.py but it seems flask db migrate unable to recognise the same.
(.venv) d:\MyCodes\flask>flask db migrate -m "base-0.02"
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.env] No changes in schema detected.
Any help please ?
Regards
Beta Was this translation helpful? Give feedback.
All reactions