Skip to content

Commit

Permalink
Merge pull request #18 from jadmsaadaot/flask-db-migrations
Browse files Browse the repository at this point in the history
Remove manually creating tables
  • Loading branch information
jadmsaadaot authored Sep 13, 2024
2 parents e3954ec + 0aec059 commit fe730e1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scaffold-api/src/scaffold_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ def create_app(run_mode=os.getenv("FLASK_ENV", "development")):

# # Database migrate initialize
migrate.init_app(app, db)
with app.app_context():
db.create_all()

# Marshmallow initialize
ma.init_app(app)
Expand Down

0 comments on commit fe730e1

Please sign in to comment.