Implement CatalogItem, MarketplaceListing, Purchase, CreatorBalance models and Alembic migration 0013 (task 166836d55365)

This commit is contained in:
2026-09-15 19:58:32 +00:00
parent 30698a77d6
commit 0b7f407ad2
5 changed files with 484 additions and 1 deletions
+2 -1
View File
@@ -58,7 +58,8 @@ TEST_TABLES = (
# (not CASCADE, deliberately -- see groups.py), so it wouldn't be reached
# by cascading a truncate of users; list it explicitly for clarity too.
"group_members", "groups",
# Economy (app/models/wallet.py) -- transactions FK wallets FK users
# Economy (app/models/wallet.py, app/models/marketplace.py)
"purchases", "marketplace_listings", "catalog_items", "creator_balances",
"transactions", "wallets",
"sessions", "refresh_tokens", "users",
)