boolean field for flask orm sql alchemy code example
Example: set boolean 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)