Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 6, 2024
1 parent 170753e commit 454ac30
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/backend/app/migrations/versions/c1ee756a3449_.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,31 @@
Create Date: 2024-08-06 11:06:12.267127
"""

from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = 'c1ee756a3449'
down_revision: Union[str, None] = '87b6f9d734e8'
revision: str = "c1ee756a3449"
down_revision: Union[str, None] = "87b6f9d734e8"
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('projects', sa.Column('final_output', sa.ARRAY(sa.String()), nullable=True))
op.add_column('projects', sa.Column('auto_lock_tasks', sa.Boolean(), nullable=True))
op.add_column(
"projects", sa.Column("final_output", sa.ARRAY(sa.String()), nullable=True)
)
op.add_column("projects", sa.Column("auto_lock_tasks", sa.Boolean(), nullable=True))
# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('projects', 'auto_lock_tasks')
op.drop_column('projects', 'final_output')
op.drop_column("projects", "auto_lock_tasks")
op.drop_column("projects", "final_output")
# ### end Alembic commands ###

0 comments on commit 454ac30

Please sign in to comment.