Sha256: 8b569daac15de8f7682ab2e31233d88f19e5f48e7e622dd95b32fdcdc8614253

Contents?: true

Size: 206 Bytes

Versions: 3

Compression:

Stored size: 206 Bytes

Contents

class RemovePasswordFromUser < ActiveRecord::Migration
  def up
    remove_column :users, :crypted_password
  end
  
  def down
    add_column :users, :crypted_password, :string, :default => nil
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gritano-1.0.0 db/migrate/008_remove_password_from_user.rb
gritano-0.11.2 db/migrate/008_remove_password_from_user.rb
gritano-0.11.1 db/migrate/008_remove_password_from_user.rb