tap/db/migrate/20150918190548_remove_devise_fields_from_users.rb
2015-09-18 21:11:45 +02:00

9 lines
352 B
Ruby

class RemoveDeviseFieldsFromUsers < ActiveRecord::Migration
def change
remove_column :users, :sign_in_count, :integer
remove_column :users, :current_sign_in_at, :datetime
remove_column :users, :last_sign_in_at, :datetime
remove_column :users, :current_sign_in_ip, :string
remove_column :users, :last_sign_in_ip, :string
end
end