Redmine/db/migrate/20130729070143_add_users_mu...

10 lines
228 B
Ruby
Raw Normal View History

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