shop product refactoring
This commit is contained in:
4
tests/fixtures/testing_fixtures.py
vendored
4
tests/fixtures/testing_fixtures.py
vendored
@@ -22,9 +22,9 @@ def empty_db(db):
|
||||
# In order to respect foreign key constraints
|
||||
tables_to_clear = [
|
||||
"marketplace_import_jobs", # Has foreign keys to shops and users
|
||||
"shop_products", # Has foreign keys to shops and products
|
||||
"products", # Has foreign keys to shops and products
|
||||
"stock", # Fixed: singular not plural
|
||||
"products", # Referenced by shop_products
|
||||
"products", # Referenced by products
|
||||
"shops", # Has foreign key to users
|
||||
"users" # Base table
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user