0be7ccd4b487ce46ed23665cbd8567e2abb8e65f
The models/__init__.py imports all ORM model classes (Store, Product, Coupon, etc.) which registers their table definitions with Base.metadata. Importing Base directly from models.base skips this registration, so alembic's create_all() on fresh databases fails to create app tables. Co-Authored-By: Paperclip <noreply@paperclip.ing>
Description
Languages
Python
99.3%
Dockerfile
0.5%
Mako
0.2%