From 89f2b570b38a3eb7be4ea07d174c13c639c1337c Mon Sep 17 00:00:00 2001 From: poduck Date: Sun, 30 Nov 2025 21:15:03 -0500 Subject: [PATCH] Fix: Move notifications to SHARED_APPS for platform-to-tenant notifications MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Platform users need to send notifications to business tenants, so the notifications app must be in SHARED_APPS (public schema) rather than TENANT_APPS (tenant-specific schemas). Changes: - Moved notifications from TENANT_APPS to SHARED_APPS in multitenancy.py - Run migrations on public schema to create notifications tables 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- smoothschedule/config/settings/multitenancy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smoothschedule/config/settings/multitenancy.py b/smoothschedule/config/settings/multitenancy.py index 0f8d7fd..6713dba 100644 --- a/smoothschedule/config/settings/multitenancy.py +++ b/smoothschedule/config/settings/multitenancy.py @@ -45,6 +45,7 @@ SHARED_APPS = [ 'csp', 'djstripe', # Stripe integration 'tickets', # Ticket system - shared for platform support access + 'notifications', # Notification system - shared for platform to notify tenants 'smoothschedule.public_api', # Public API v1 for third-party integrations ] @@ -54,7 +55,6 @@ TENANT_APPS = [ 'schedule', # Resource scheduling with configurable concurrency 'payments', # Stripe Connect payments bridge 'communication', # Twilio masked communications - 'notifications', # New: Generic notification app # Add your tenant-scoped business logic apps here: # 'appointments', # 'customers',