]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20121203124841_change_note_address_to_inet.rb
Merge branch 'master' into moderation
[rails.git] / db / migrate / 20121203124841_change_note_address_to_inet.rb
index e4e53e35a817d175576a8b39a10cadc447f43df4..5ba8611cf6cf2f16f745fc741ccb7bea4e5072e1 100644 (file)
@@ -1,4 +1,4 @@
-class ChangeNoteAddressToInet < ActiveRecord::Migration
+class ChangeNoteAddressToInet < ActiveRecord::Migration[5.0]
   def up
     execute "ALTER TABLE note_comments ALTER COLUMN author_ip TYPE inet USING CAST(author_ip AS inet)"
   end