Project

General

Profile

Download (303 Bytes) Statistics
| Branch: | Tag: | Revision:
class ChangeAuthSourceResourceType < ActiveRecord::Migration[4.2]
def up
Permission.where(:resource_type => 'AuthSourceLdap').update_all(:resource_type => 'AuthSource')
end

def down
Permission.where(:resource_type => 'AuthSource').update_all(:resource_type => 'AuthSourceLdap')
end
end
(387-387/409)