Skip to content

Commit 49d9b8a

Browse files
committed
Set cache_ok=True on GUID type
1 parent c2bd837 commit 49d9b8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fastapi_users_db_sqlalchemy/guid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class UUIDChar(CHAR):
1616
python_type = UUID4
1717

1818
impl = UUIDChar
19+
cache_ok = True
1920

2021
def load_dialect_impl(self, dialect):
2122
if dialect.name == "postgresql":

0 commit comments

Comments
 (0)