Skip to content

Commit

Permalink
update migration to remove array operations
Browse files Browse the repository at this point in the history
  • Loading branch information
jadmsaadaot committed Feb 24, 2025
1 parent 811b291 commit c63562a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion submit-api/migrations/versions/357e22a9cf8f_.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@


def upgrade():
op.execute("UPDATE packages SET status = array_remove(status, 'FAILED_CONSULTATION_CHECK') WHERE 'FAILED_CONSULTATION_CHECK' = ANY(status);")
op.execute("UPDATE items SET status = 'UNDER_CONSULTATION_CHECK' WHERE status = 'FAILED_CONSULTATION_CHECK';")

op.execute("ALTER TYPE packagestatus RENAME VALUE 'AWAITING_MANAGER_REVIEW' TO 'AWAITING_MANAGER_APPROVAL';")
Expand Down

0 comments on commit c63562a

Please sign in to comment.