Skip to content

Commit

Permalink
Fix migration script
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
  • Loading branch information
aaronchongth committed May 17, 2024
1 parent 82422f4 commit bb95202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api-server/migrations/migrate_db_912.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@ async def migrate():

if pickup is not None:
await ttm.TaskLabel.create(
state.state, label_name="pickup", label_value_str=pickup
state=state, label_name="pickup", label_value_str=pickup
)
if destination is not None:
await ttm.TaskLabel.create(
state.state, label_name="destination", label_value_str=destination
state=state, label_name="destination", label_value_str=destination
)

state.update_from_dict(
Expand Down

0 comments on commit bb95202

Please sign in to comment.