1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-23 13:34:19 +00:00
pds-2021-g2-nest/code/backend/nest_backend/database/tables/Utente.py

8 lines
252 B
Python
Raw Normal View History

2021-04-19 14:14:51 +00:00
from ..base import Base
class Utente(Base.Model):
__tablename__ = "utente"
email = Base.Column(Base.String, primary_key=True)
username = Base.Column(Base.String, nullable=False)
password = Base.Column(Base.LargeBinary, nullable=False)