]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/046_alter_user_roles_and_blocks.rb
Add rails version number to migrations
[rails.git] / db / migrate / 046_alter_user_roles_and_blocks.rb
index 864f0db5de95dc168611b3a451f1d4d9e37d0e42..812572e23c2f4353b8576d048845f956a4c0c900 100644 (file)
@@ -1,6 +1,6 @@
-require 'migrate'
+require "migrate"
 
-class AlterUserRolesAndBlocks < ActiveRecord::Migration
+class AlterUserRolesAndBlocks < ActiveRecord::Migration[5.0]
   def self.up
     # the initial granter IDs can be "self" - there are none of these
     # in the current live DB, but there may be some in people's own local