suitepro/db/migrate/20130729070143_add_users_must_change_passwd.rb
2018-02-02 22:19:29 +01:00

9 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