Skip to content

Commit d6223d0

Browse files
fix: clean up formatting and improve downgrade function in remove_preview_thumb_column.py
1 parent d81d508 commit d6223d0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

alembic/versions/b833d85c09ed_remove_preview_thumb_column.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2026-03-31 23:07:22.910889
66
77
"""
8+
89
from typing import Sequence, Union
910

1011
import sqlalchemy as sa
@@ -13,8 +14,8 @@
1314

1415

1516
# revision identifiers, used by Alembic.
16-
revision: str = 'b833d85c09ed'
17-
down_revision: Union[str, None] = 'a2f4b8c91d23'
17+
revision: str = "b833d85c09ed"
18+
down_revision: Union[str, None] = "a2f4b8c91d23"
1819
branch_labels: Union[str, Sequence[str], None] = None
1920
depends_on: Union[str, Sequence[str], None] = None
2021

@@ -24,7 +25,4 @@ def upgrade() -> None:
2425

2526

2627
def downgrade() -> None:
27-
op.add_column(
28-
"impls",
29-
sa.Column("preview_thumb", sa.String(), nullable=True),
30-
)
28+
op.add_column("impls", sa.Column("preview_thumb", sa.String(), nullable=True))

0 commit comments

Comments
 (0)