Merge branch 'main' of https://git.hokzaap.org/Hokzaap/VoxPopuli
This commit is contained in:
2026-05-03 21:59:25 -06:00

View File

@@ -10,7 +10,7 @@ class UserModel(Base):
nombre = Column(String(100), nullable=False, index=True)
apellido = Column(String(100), nullable=False, index=True)
email = Column(String(255), unique=True, nullable=False, index=True)
contraseña_hash = Column(String(255), nullable=False, default="$2b$12$R9h7cIPz0gi.URNNX3kh2OPST9/PgBkqquzi.Ee3GzxQ2n8/N7kDi") # Hash de "passwd123"
contraseña_hash = Column(String(500), nullable=False) # Argon2 hashes can be up to ~200 chars
fecha_nacimiento = Column(DateTime, nullable=False)
fecha_creacion = Column(DateTime, default=datetime.utcnow, nullable=False)
calificacion = Column(Float, default=50.0, nullable=False) # 0-100