X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8090e086daad67eac711ad6fd6a5eba6f28d44fd..673b58f96f3acfd0281c62a2a7f080825b6fb28b:/db/migrate/20121203124841_change_note_address_to_inet.rb diff --git a/db/migrate/20121203124841_change_note_address_to_inet.rb b/db/migrate/20121203124841_change_note_address_to_inet.rb index e4e53e35a..5ba8611cf 100644 --- a/db/migrate/20121203124841_change_note_address_to_inet.rb +++ b/db/migrate/20121203124841_change_note_address_to_inet.rb @@ -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