Rename finance → monetization (keep finance_* tables via app label), add RevenueCat webhook + ledger upserts so store IAP syncs subscriptions and billing history like Stripe. Companion to chat_web_app#100 / #68.
9 lines
258 B
Python
9 lines
258 B
Python
"""Finance app signals."""
|
|
|
|
|
|
def seed_plans_on_migrate(sender, **kwargs):
|
|
"""Ensure the subscription catalog exists after migrate."""
|
|
from monetization.services.plans import seed_subscription_plans
|
|
|
|
seed_subscription_plans(update_existing=False)
|