Skip to content

Commit

Permalink
Fix type of downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Oct 11, 2024
1 parent ca149a0 commit 92ecab5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def convert_json_to_array(column_name: str):


def convert_array_to_json(column_name: str):
op.add_column("oonifinding", sa.Column(f"{column_name}_tmp", sa.JSONB))
op.add_column("oonifinding", sa.Column(f"{column_name}_tmp", sa.JSON()))
op.execute(
f"""
UPDATE oonifinding
Expand Down

0 comments on commit 92ecab5

Please sign in to comment.