backend/med_backend/db/models/dummy_model.py

14 lines
346 B
Python
Raw Normal View History

2022-12-07 20:16:44 +03:00
from sqlalchemy.sql.schema import Column
from sqlalchemy.sql.sqltypes import Integer, String
from med_backend.db.base import Base
class DummyModel(Base):
"""Model for demo purpose."""
__tablename__ = "dummy_model"
id = Column(Integer(), primary_key=True, autoincrement=True)
name = Column(String(length=200)) # noqa: WPS432