summaryrefslogtreecommitdiffstats
path: root/db/migrate/20130729070143_add_users_must_change_passwd.rb
blob: 13c29292e3ac4cfc6491ee391944b17b3a605587 (plain)
1
2
3
4
5
6
7
8
9
class AddUsersMustChangePasswd < ActiveRecord::Migration
  def up
    add_column :users, :must_change_passwd, :boolean, :default => false, :null => false
  end

  def down
    remove_column :users, :must_change_passwd
  end
end