all three of your files do:
from database import Base
so that is just one Base object, one metadata object. they are all the same.
if you wanted them separate you'd need to call upon "Base =
declarative_base()" in each module individually.
On Sat, Mar 24, 2018 at 1:11 PM,
myproject just like this:
├─migrate
│ ├─versions
│ │ └─94d0834e4282_.py
│ │ └─__pycache__
│ └─evn.py
│ └─README
│ └─evn.py
│ └─cript.py.mako
├─models
│ └─test1.py
│ └─test2.py
│ └─test3.py
├─__pycache__
├─alembic.ini
├─database.py
└─main.py
database.py:
from sqlalchemy