fix MovedIn20Warning
shouldn't actually cause any issues currently since SQLAlchemy is (to my annoyance) import *ed everywhere but.
This commit is contained in:
parent
e61e35226d
commit
9b94e524bb
28 changed files with 32 additions and 29 deletions
|
@ -22,7 +22,7 @@ logger = logging.getLogger('alembic.env')
|
|||
|
||||
# add your model's MetaData object here
|
||||
# for 'autogenerate' support
|
||||
from files.__main__ import Base
|
||||
from files.classes.base import Base
|
||||
target_metadata = Base.metadata
|
||||
|
||||
config.set_main_option(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue