1
0
miroir de https://github.com/redmine/redmine.git synchronisé 2024-08-01 08:18:13 +02:00
redmine/db/migrate/20130729070143_add_users_must_change_passwd.rb
Jean-Philippe Lang b764e39847 Option to force a user to change his password (#3872).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-08-05 17:58:33 +00:00

10 lignes
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