📜  set boolean flasksql 代码示例

📅  最后修改于: 2022-03-11 15:05:09.109000             🧑  作者: Mango

代码示例1
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)