roundabout,
created on Wednesday, 14 August 2024, 11:42:34 (1723635754),
received on Thursday, 15 August 2024, 07:42:21 (1723707741)
Author identity: vlad <vlad.muntoiu@gmail.com>
1075dcb606d896be5c2dbc3604b4f15e26d2395a
app.py
@@ -37,6 +37,7 @@ with app.app_context():
class User(db.Model): username = db.Column(db.String(32), unique=True, nullable=False, primary_key=True) password_hashed = db.Column(db.String(60), nullable=False) admin = db.Column(db.Boolean, nullable=False, default=False, server_default="false")def __init__(self, username, password): self.username = username