API and database models refactoring
This commit is contained in:
@@ -603,7 +603,7 @@ volumes:
|
||||
|
||||
```python
|
||||
# Migrate existing products to demo shop
|
||||
from models.database_models import Product, Shop, ShopProduct
|
||||
from models.database import Product, Shop, ShopProduct
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
def migrate_to_shops(db: Session):
|
||||
|
||||
Reference in New Issue
Block a user