]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20121203124841_change_note_address_to_inet.rb
Keep trailing semicolons in formatted tag values
[rails.git] / db / migrate / 20121203124841_change_note_address_to_inet.rb
index e4e53e35a817d175576a8b39a10cadc447f43df4..e2956daf91673baf6c5284bd5fde8e7a4a95a2d1 100644 (file)
@@ -1,4 +1,4 @@
-class ChangeNoteAddressToInet < ActiveRecord::Migration
+class ChangeNoteAddressToInet < ActiveRecord::Migration[4.2]
   def up
     execute "ALTER TABLE note_comments ALTER COLUMN author_ip TYPE inet USING CAST(author_ip AS inet)"
   end
   def up
     execute "ALTER TABLE note_comments ALTER COLUMN author_ip TYPE inet USING CAST(author_ip AS inet)"
   end