为了创建初始数据库,只需要从交互式Python shell 中导入 db 对象并且调用 SQLAlchemy.create_all() 方法来创建表和数据库: >>> from yourapplication import db ...
確定! 回上一頁