ifixkart-admin/Backend/alter_tables2.py
Adithiyan bbd3a3e959 feat: initial commit — full platform snapshot
- Backend: FastAPI app with all models, services, schemas, routes
- Admin Panel: Next.js dashboard with all modules
  (CRM, POS, repairs, warranties, billing, notifications, etc.)
- Ecommerce: storefront (submodule) + product catalog
- AI Agents: .agents/ skill library for Antigravity IDE
- Docs: architecture, billing, notification gateway markdown
- Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
2026-10-13 12:59:47 +05:30

16 lines
515 B
Python

from sqlalchemy import create_engine
from app.models.RoleNotificationSettingModel import RoleNotificationSetting
from app.core.config.Config import settings
engines = [
create_engine(settings.CORE_DATABASE_URL),
create_engine(settings.CRM_DATABASE_URL),
create_engine(settings.COMMERCE_DATABASE_URL)
]
for engine in engines:
try:
RoleNotificationSetting.metadata.create_all(engine)
print("Created role_notification_settings in", engine.url)
except Exception as e:
pass