mirror of https://gitlab.com/akasroua/covot
Update sqlalchemy models
This commit is contained in:
parent
89ac99858a
commit
66ce3d6ff5
|
@ -1,5 +1,5 @@
|
|||
from sqlalchemy import Column
|
||||
from sqlalchemy.types import Integer, String
|
||||
from sqlalchemy.types import Date, Integer, String, Text
|
||||
|
||||
from database import Base
|
||||
|
||||
|
@ -15,3 +15,9 @@ class Users(Base):
|
|||
numero_de_documento = Column(String, nullable=False, unique=True)
|
||||
centro_academico = Column(String, nullable=False)
|
||||
correo_institucional = Column(String, nullable=False, unique=True)
|
||||
tipo_alojamiento = Column(String)
|
||||
tipo_caso = Column(String)
|
||||
comienzo_aislamiento = Column(Date)
|
||||
fin_aislamiento = Column(Date)
|
||||
observaciones = Column(Text)
|
||||
codigo = Column(String)
|
||||
|
|
Loading…
Reference in New Issue