# from flask_sqlalchemy import SQLAlchemy  # 可以考虑从ext.py中导入db对象

from app_01.ext import db


class User(db.Model):
    id = db.Column(db.Integer, primary_key=True, autoincrement=True)
    name = db.Column(db.String(20), nullable=False)

3fa24ca1847c9bd98a5f2322fb50a04f3a0abf02
<mask token>

<mask token>


class User(db.Model):
    <mask token>
    <mask token>

<mask token>


class User(db.Model):
    id = db.Column(db.Integer, primary_key=True, autoincrement=True)
    name = db.Column(db.String(20), nullable=False)

from app_01.ext import db


class User(db.Model):
    id = db.Column(db.Integer, primary_key=True, autoincrement=True)
    name = db.Column(db.String(20), nullable=False)

# from flask_sqlalchemy import SQLAlchemy  # 可以考虑从ext.py中导入db对象

from app_01.ext import db


class User(db.Model):
    id = db.Column(db.Integer, primary_key=True, autoincrement=True)
    name = db.Column(db.String(20), nullable=False)
