Skip to content

Commit

Permalink
fix: future migrations by ensuring they are in batch form
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Oct 1, 2024
1 parent b86cb86 commit e14f0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chord_drs/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

# Attach the database to the application and run migrations if needed
db.init_app(application)
migrate = Migrate(application, db, directory=MIGRATION_DIR)
migrate = Migrate(application, db, directory=MIGRATION_DIR, render_as_batch=True)

# Register routes
application.register_blueprint(drs_service)
Expand Down

0 comments on commit e14f0db

Please sign in to comment.