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
2021-04-19 16:14:51 +02:00

8 lines
No EOL
252 B
Python

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)