add index

This commit is contained in:
Carlo
2024-08-06 11:39:00 +08:00
parent 78a524d11d
commit d33a1619e9
2 changed files with 2 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ from sqlalchemy import (
JSON,
Column,
DateTime,
Index,
String,
TypeDecorator,
and_,
@@ -21,7 +22,6 @@ from sqlalchemy import (
or_,
select,
text,
Index,
)
from sqlalchemy.dialects.postgresql import UUID
from sqlalchemy.orm import declarative_base, mapped_column, sessionmaker

View File

@@ -13,12 +13,12 @@ from sqlalchemy import (
Boolean,
Column,
DateTime,
Index,
String,
TypeDecorator,
create_engine,
desc,
func,
Index,
)
from sqlalchemy.dialects.postgresql import UUID
from sqlalchemy.exc import InterfaceError, OperationalError