Skip to content

Commit 02504df

Browse files
formatting again
1 parent ea7bc14 commit 02504df

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

backend/migrations/versions/a59aeb0bd691_remove_other_treatment_and_other_.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,32 @@
55
Create Date: 2025-09-25 20:22:55.535261
66
77
"""
8+
89
from typing import Sequence, Union
910

1011
import sqlalchemy as sa
1112
from alembic import op
1213

1314
# revision identifiers, used by Alembic.
14-
revision: str = 'a59aeb0bd691'
15-
down_revision: Union[str, None] = '95467f4c5c80'
15+
revision: str = "a59aeb0bd691"
16+
down_revision: Union[str, None] = "95467f4c5c80"
1617
branch_labels: Union[str, Sequence[str], None] = None
1718
depends_on: Union[str, Sequence[str], None] = None
1819

1920

2021
def upgrade() -> None:
2122
# ### commands auto generated by Alembic - please adjust! ###
22-
op.drop_column('user_data', 'other_experience')
23-
op.drop_column('user_data', 'loved_one_other_experience')
24-
op.drop_column('user_data', 'other_treatment')
25-
op.drop_column('user_data', 'loved_one_other_treatment')
23+
op.drop_column("user_data", "other_experience")
24+
op.drop_column("user_data", "loved_one_other_experience")
25+
op.drop_column("user_data", "other_treatment")
26+
op.drop_column("user_data", "loved_one_other_treatment")
2627
# ### end Alembic commands ###
2728

2829

2930
def downgrade() -> None:
3031
# ### commands auto generated by Alembic - please adjust! ###
31-
op.add_column('user_data', sa.Column('loved_one_other_treatment', sa.TEXT(), autoincrement=False, nullable=True))
32-
op.add_column('user_data', sa.Column('other_treatment', sa.TEXT(), autoincrement=False, nullable=True))
33-
op.add_column('user_data', sa.Column('loved_one_other_experience', sa.TEXT(), autoincrement=False, nullable=True))
34-
op.add_column('user_data', sa.Column('other_experience', sa.TEXT(), autoincrement=False, nullable=True))
32+
op.add_column("user_data", sa.Column("loved_one_other_treatment", sa.TEXT(), autoincrement=False, nullable=True))
33+
op.add_column("user_data", sa.Column("other_treatment", sa.TEXT(), autoincrement=False, nullable=True))
34+
op.add_column("user_data", sa.Column("loved_one_other_experience", sa.TEXT(), autoincrement=False, nullable=True))
35+
op.add_column("user_data", sa.Column("other_experience", sa.TEXT(), autoincrement=False, nullable=True))
3536
# ### end Alembic commands ###

0 commit comments

Comments
 (0)