summaryrefslogtreecommitdiffstats
path: root/db/migrate/20130729070143_add_users_must_change_passwd.rb
blob: 75f236a09c895503ed7ce03c54b42099e4e32c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: false

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