Sha256: f8d503d57e61d84bbec11b06db8f9a0e6abdb4cd4740939f98558cc2e12012af
Contents?: true
Size: 895 Bytes
Versions: 15
Compression:
Stored size: 895 Bytes
Contents
class AddDeviseToUsers < ActiveRecord::Migration def self.up add_column :users, :database_authenticatable, :null => false 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, :database_authenticatable, :null => false remove_column :users, :recoverable remove_column :users, :rememberable remove_column :users, :trackable #remove_column :users, :encryptable #remove_column :users, :confirmable #remove_column :users, :lockable :lock_strategy => :failed_attempts, :unlock_strategy => :both remove_column :users, :token_authenticatable end end
Version data entries
15 entries across 15 versions & 1 rubygems