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

  def down
    remove_column :users, :must_change_passwd
  end
end