Sha256: b1389381885f51329a63c51512ea2b4177dffdd7d1917ae45df74ced525ae928
Contents?: true
Size: 701 Bytes
Versions: 3
Compression:
Stored size: 701 Bytes
Contents
class AddDeviseToUsers < ActiveRecord::Migration def self.up add_column :users, :database_authenticatable, :null => false, :default => 0 add_column :users, :recoverable add_column :users, :rememberable add_column :users, :trackable #add_column :users, :encryptable #add_column :users, :confirmable #add_column :users, :lockable :lock_strategy => :failed_attempts, :unlock_strategy => :both add_column :users, :token_authenticatable end def self.down remove_column :users remove_column :users remove_column :users remove_column :users #remove_column :users #remove_column :users #remove_column :users remove_column :users end end
Version data entries
3 entries across 3 versions & 1 rubygems