blob: 3a5860fe0b8ad6f30b305d66386c422a1c2ad424 (
plain)
1
2
3
4
5
6
7
8
9
|
class AddUsersMustChangePasswd < ActiveRecord::Migration[4.2]
def up
add_column :users, :must_change_passwd, :boolean, :default => false, :null => false
end
def down
remove_column :users, :must_change_passwd
end
end
|