]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/041_add_fine_o_auth_permissions.rb
Merge remote-tracking branch 'upstream/pull/5208'
[rails.git] / db / migrate / 041_add_fine_o_auth_permissions.rb
index ad4c7a8a4f7bc37580de3ef20b34715825004e13..59172fed933be06764ee84a150995d08813fcb71 100644 (file)
@@ -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[4.2]
+  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|
 
   def self.up
     PERMISSIONS.each do |perm|