nuxion/services

srv db create doesn't create tables

Closed this issue · 1 comments

nuxion commented

Check how the Base class is doing the map. Compare with srv db revision which works.

nuxion commented

The problem was related to no callling (importing) any model from the app before calling db.create_all which uses the MetaData object from sqlalchemy.