tap/db/migrate/20150918190548_remove_devise_fields_from_users.rb

10 lines
352 B
Ruby
Raw Normal View History

2015-09-18 21:11:45 +02:00
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