20130729070143_add_users_must_change_passwd.rb
9 lines
| 228 B
| text/x-ruby
|
RubyLexer
|
r11851 | 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 | ||||