Flask
- 1 ответ
- 0 вопросов
0
Вклад в тег
To create the initial database, just import the db object from an interactive Python shell and run the SQLAlchemy.create_all() method to create the tables and database:
>>> from yourapplication import db >>> db.create_all()
Boom, and there is your database.