add RequestType SQLAlchemy ORM model

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-06-11 17:37:51 -07:00
parent 511f174c8b
commit 3bf4b3717a
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,11 @@
from sqlalchemy import Column, Integer
from aurweb.models.declarative import Base
class RequestType(Base):
__tablename__ = "RequestTypes"
ID = Column(Integer, primary_key=True)
__mapper_args__ = {"primary_key": [ID]}