首页上一页 1 下一页尾页 1 条记录 1/1页
flask Flask flask_sqlalchemy SQLAlchemy pymysql app = Flask(__name__) app.config[] = app.config[] = ( ) db = SQLAlchemy(app) Course(db.Model): course_id = db.Column(db.BigInteger==) product_id = db.Column(db.BigInteger=) product_type = db.Column(db.Integer=) provider = db.Column(db.String()=) score = db.Column(db.Float()) score_level = db.Column(db.Integer) learner_count = db.Column(db.Integer) lesson_count = db.Column(db.Integer) lector_name = db.Column(db.String()) original_price = db.Column(db.Float()) discount_price = db.Column(db.Float()) discount_rate = db.Column(db.Float()) img_url = db.Column(db.String()) big_img_url = db.Column(db.String()) description = db.Column(db.Text) __name__ == : app.run(=)
这样怎么创建表啊?