10 lines
352 B
Ruby
10 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
|