Redmine/db/migrate/20130729070143_add_users_mu...

10 lines
228 B
Ruby

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