I have data in a Users table. One column called :provider_user_id of datatype float.
I want to change it to data type bigint.
How should I write this migration in rails 3
The original column was created with the following migration:
class AddFbuidToUsers < ActiveRecord::Migration
def self.up
add_column :users, :provider_user_id, :float
end
def self.down
remove_column :users, :provider_user_id
end
end