X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/581c243e0ec43dab9cbff2dc9d36d8c17f057286..b17517e02cc9580b89a220d926292166aed25b9b:/db/migrate/037_add_sender_visible_to_message.rb?ds=sidebyside diff --git a/db/migrate/037_add_sender_visible_to_message.rb b/db/migrate/037_add_sender_visible_to_message.rb index 305473a62..05ef2e085 100644 --- a/db/migrate/037_add_sender_visible_to_message.rb +++ b/db/migrate/037_add_sender_visible_to_message.rb @@ -1,4 +1,4 @@ -class AddSenderVisibleToMessage < ActiveRecord::Migration +class AddSenderVisibleToMessage < ActiveRecord::Migration[4.2] def self.up rename_column :messages, :visible, :to_user_visible add_column :messages, :from_user_visible, :boolean, :default => true, :null => false