We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 448805d commit 3ca3bdeCopy full SHA for 3ca3bde
migrations/env.py
@@ -68,7 +68,8 @@ def run_migrations_online() -> None:
68
target_metadata=target_metadata,
69
version_table_schema="bot_dbay",
70
compare_type=True,
71
- include_schemas=True
+ include_schemas=True,
72
+ schema_translate_map={None: target_metadata.schema},
73
)
74
75
with context.begin_transaction():
src/database/db.py
@@ -5,7 +5,7 @@
5
6
from src.utils.settings import get_settings
7
8
-metadata = MetaData(schema="bot_bday")
+metadata = MetaData(schema="bot_dbay")
9
10
users_table = Table(
11
"users",
0 commit comments