mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-04 05:12:38 +02:00
chore: linting
This commit is contained in:
parent
b9a66cb417
commit
ca9bbee06d
41 changed files with 314 additions and 244 deletions
|
|
@ -88,7 +88,5 @@ def upgrade() -> None:
|
|||
|
||||
|
||||
def downgrade() -> None:
|
||||
op.drop_index(
|
||||
"ix_agent_action_log_thread_created", table_name="agent_action_log"
|
||||
)
|
||||
op.drop_index("ix_agent_action_log_thread_created", table_name="agent_action_log")
|
||||
op.drop_table("agent_action_log")
|
||||
|
|
|
|||
|
|
@ -51,9 +51,7 @@ def upgrade() -> None:
|
|||
# implicit-unique-index variant SQLAlchemy may emit need draining.
|
||||
constraints = _existing_constraint_names(bind, "documents")
|
||||
if "uq_documents_content_hash" in constraints:
|
||||
op.drop_constraint(
|
||||
"uq_documents_content_hash", "documents", type_="unique"
|
||||
)
|
||||
op.drop_constraint("uq_documents_content_hash", "documents", type_="unique")
|
||||
|
||||
indexes = _existing_index_names(bind, "documents")
|
||||
# Some Postgres versions surface the unique constraint via a unique
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue