Установите логические Flasksql
class User(db.Model):
__tablename__ = 'users'
id = db.Column(db.Integer, primary_key=True)
can_view_records = db.Column(db.Boolean, default=False, nullable=False)
Calm Cassowary