Skip to content

Commit

Permalink
Merge pull request #121 from Congress-Dev/alembix-fix
Browse files Browse the repository at this point in the history
Include all schemas in alembic migrations
  • Loading branch information
mustyoshi authored Jan 18, 2025
2 parents 4a09674 + 5b909a7 commit cde3a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/alembic/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def run_migrations_online() -> None:
)

with connectable.connect() as connection:
context.configure(connection=connection, target_metadata=target_metadata)
context.configure(connection=connection, target_metadata=target_metadata, include_schemas=True)

with context.begin_transaction():
context.run_migrations()
Expand Down

0 comments on commit cde3a7a

Please sign in to comment.