Squashed migrations and created seed_roles.py

This commit is contained in:
richard-dds
2018-09-18 21:36:43 -04:00
parent dc46608ede
commit 4fc1f9f2d4
41 changed files with 433 additions and 1527 deletions

View File

@@ -1,13 +1,13 @@
from sqlalchemy import Column, BigInteger, String, ForeignKey
from sqlalchemy import Column, String, ForeignKey
from sqlalchemy.orm import relationship
from atst.models import Base
from atst.models import Base, types
class RequestInternalComment(Base):
__tablename__ = "request_internal_comments"
id = Column(BigInteger, primary_key=True)
id = types.Id()
text = Column(String())
user_id = Column(ForeignKey("users.id"), nullable=False)