Skip to content

Commit

Permalink
Make cursor to string migration reversible
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahima authored Aug 19, 2024
1 parent 10646cd commit 0fdf068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20210219212931_change_cursor_to_string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def up

def down
change_table(:maintenance_tasks_runs) do |t|
t.change(:cursor, :bigint)
t.change(:cursor, "bigint USING cursor::bigint")
end
end
end

0 comments on commit 0fdf068

Please sign in to comment.