<gh_stars>1-10
from petisco.persistence.persistence import Persistence
from sqlalchemy import Column, Integer, String, JSON

Base = Persistence.get_base("taskmanager")


class EventModel(Base):

    __tablename__ = "Event"

    id = Column("id", Integer, primary_key=True)
    event_id = Column("event_id", String(36))
    type = Column("type", String(100))
    data = Column("data", JSON)

from petisco.persistence.persistence import Persistence
from sqlalchemy import Column, Integer, String, JSON

Base = Persistence.get_base("taskmanager")


class EventModel(Base):

    __tablename__ = "Event"

    id = Column("id", Integer, primary_key=True)
    event_id = Column("event_id", String(36))
    type = Column("type", String(100))
    data = Column("data", JSON)