Skip to content

Commit e9d50e1

Browse files
committed
Remove db creation
1 parent d3578a5 commit e9d50e1

File tree

1 file changed

+0
-3
lines changed
  • project/06-add-db-migrations

1 file changed

+0
-3
lines changed

project/06-add-db-migrations/app.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ def create_app(db_url=None):
2727
migrate = Migrate(app, db)
2828
api = Api(app)
2929

30-
with app.app_context():
31-
db.create_all()
32-
3330
api.register_blueprint(ItemBlueprint)
3431
api.register_blueprint(StoreBlueprint)
3532
api.register_blueprint(TagBlueprint)

0 commit comments

Comments
 (0)