- Remove committed .coverage and test-results/ (196K screenshots); gitignore them - Fix hardcoded /home/userpath + venv/bin/python in test_endpoints.py (relative backend dir + sys.executable) - Fix concatenated 'import json' in settings.py; bare excepts -> Exception; SQLAlchemy-safe is_active.is_(True); __all__ on models/schemas barrels - ruff clean (93 fixes), MIT LICENSE, PLAN.md -> docs/, README Tests section - 300 tests pass, 93.7% coverage
14 lines
419 B
Python
14 lines
419 B
Python
from sqlalchemy import Column, String, Float
|
|
from ..db.database import Base
|
|
|
|
class ConcertEvent(Base):
|
|
__tablename__ = "concert_events"
|
|
|
|
id = Column(String, primary_key=True, index=True)
|
|
name = Column(String, nullable=False)
|
|
venue = Column(String)
|
|
location_lat = Column(Float)
|
|
location_lon = Column(Float)
|
|
date = Column(String)
|
|
description = Column(String)
|
|
image_url = Column(String) |