- 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
9 lines
529 B
Python
9 lines
529 B
Python
from sqlalchemy import create_engine, text
|
|
|
|
engine = create_engine("mysql+pymysql://root:NewStrongPassword123!@127.0.0.1:3306/ifixkart_core")
|
|
with engine.begin() as conn:
|
|
conn.execute(text("ALTER TABLE service_jobs MODIFY COLUMN service_type_id VARCHAR(64);"))
|
|
conn.execute(text("ALTER TABLE service_jobs MODIFY COLUMN repair_service_id VARCHAR(64);"))
|
|
conn.execute(text("ALTER TABLE service_jobs MODIFY COLUMN repair_variant_id VARCHAR(64);"))
|
|
|
|
print("Successfully altered service_jobs columns to VARCHAR(64).")
|