Skip to content

Commit

Permalink
fix: wrongly autogenerated alembic command
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-schmid committed Nov 25, 2024
1 parent f184368 commit bd8f26d
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,11 @@ def upgrade() -> None:
),
sa.PrimaryKeyConstraint("control_id", "user_id", "workflow_id"),
)
op.drop_column("workflow_controls_results", "control_id")
# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.add_column(
"workflow_controls_results",
sa.Column("control_id", sa.INTEGER(), autoincrement=False, nullable=False),
)
op.drop_table("controls_workflows")
op.drop_index(op.f("ix_controls_control_name"), table_name="controls")
op.drop_table("controls")
Expand Down

0 comments on commit bd8f26d

Please sign in to comment.