X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/908a6ef409518d86bfd2cdf0d2a82a6c312821c8..aea57cdfc321edd68467e0b17bc5335f84a512b9:/db/migrate/041_add_fine_o_auth_permissions.rb diff --git a/db/migrate/041_add_fine_o_auth_permissions.rb b/db/migrate/041_add_fine_o_auth_permissions.rb index ad4c7a8a4..3ce10c4e6 100644 --- a/db/migrate/041_add_fine_o_auth_permissions.rb +++ b/db/migrate/041_add_fine_o_auth_permissions.rb @@ -1,6 +1,5 @@ -class AddFineOAuthPermissions < ActiveRecord::Migration - PERMISSIONS = [:allow_read_prefs, :allow_write_prefs, :allow_write_diary, - :allow_write_api, :allow_read_gpx, :allow_write_gpx ] +class AddFineOAuthPermissions < ActiveRecord::Migration[5.0] + PERMISSIONS = [:allow_read_prefs, :allow_write_prefs, :allow_write_diary, :allow_write_api, :allow_read_gpx, :allow_write_gpx].freeze def self.up PERMISSIONS.each do |perm|