Jak zmienić kolumnę napisu na biginta?

W migracji szyny. Jak zmienić kolumnę typu string na biginta?

Mam:

<code>t.change :ip_number_from, :integer, :limit => 8
</code>

Dostaję:

<code>PG::Error: ERROR:  column "ip_number_from" cannot be cast to type bigint
</code>

Próbowałem nawet z 2 alternatywami:

<code>change_column :ip_to_countries, :ip_number_from, :integer, :limit => 8
change_column :ip_to_countries, :ip_number_from, :bigint
</code>

Wciąż ten sam błąd.

questionAnswers(3)

yourAnswerToTheQuestion