ifixkart-admin/Backend/test_db.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

11 lines
373 B
Python

import sys
import os
sys.path.append(os.path.dirname(os.path.abspath(__name__)))
from app.core.database.db_session import SessionLocal
from app.models.EcomCustomerModel import EcomCustomer
db = SessionLocal()
c = db.query(EcomCustomer).filter(EcomCustomer.phone == "9080323589").first()
if c:
print(f"Customer email: '{c.email}'")
else:
print("Customer not found")