Skip to content

Commit

Permalink
Remove changing status in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
jadmsaadaot committed Feb 24, 2025
1 parent c63562a commit 6547ae0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions submit-api/migrations/versions/357e22a9cf8f_.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@


def upgrade():
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';")
op.execute("ALTER TYPE itemstatus RENAME VALUE 'AWAITING_MANAGER_REVIEW' TO 'AWAITING_MANAGER_APPROVAL';")
op.execute("ALTER TYPE packagestatus RENAME VALUE 'CC_AWAITING_MANAGER_REVIEW' TO 'CC_AWAITING_MANAGER_APPROVAL';")
Expand Down

0 comments on commit 6547ae0

Please sign in to comment.