Skip to content

Commit

Permalink
fix(orm): removed include_schemas kwarg from run migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
williamabreu committed Nov 18, 2021
1 parent 5f6a4bf commit ec54181
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kingdom_sdk/database/migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ def run_migrations_offline(schema: str, metadata: MetaData) -> None:
url=config.get_database_url(),
target_metadata=metadata,
literal_binds=True,
include_schemas=True,
dialect_opts={"paramstyle": "named"},
version_table_schema=schema,
)
Expand All @@ -40,7 +39,6 @@ def run_migrations_online(schema: str, metadata: MetaData) -> None:
context.configure(
connection=connection,
target_metadata=metadata,
include_schemas=True,
version_table_schema=schema,
)

Expand Down

0 comments on commit ec54181

Please sign in to comment.