Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Alembic not finding new models

# add your model's MetaData object here
# for 'autogenerate' support
# from myapp import mymodel
# target_metadata = mymodel.Base.metadata

from app.models import Student, Tutor
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Alembic #finding #models
ADD COMMENT
Topic
Name
1+8 =