We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67b85e2 commit 05c43d2Copy full SHA for 05c43d2
app/models.py
@@ -1,11 +1,11 @@
1
import typing
2
3
import sqlalchemy as sa
4
-from advanced_alchemy.base import BigIntAuditBase
+from advanced_alchemy.base import BigIntAuditBase, orm_registry
5
from sqlalchemy import orm
6
7
8
-METADATA: typing.Final = sa.MetaData()
+METADATA: typing.Final = orm_registry.metadata
9
orm.DeclarativeBase.metadata = METADATA
10
11
0 commit comments