14 lines
429 B
Python
14 lines
429 B
Python
from sqlalchemy import Column, String, Float, DateTime
|
|
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) |