X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/15b104f4ff4614aa78c01180b6a9b89dd5a1400f..b8cf4b59e5dab79dfd0fc75ef7d5afe90eebf7ae:/db/migrate/037_add_sender_visible_to_message.rb diff --git a/db/migrate/037_add_sender_visible_to_message.rb b/db/migrate/037_add_sender_visible_to_message.rb index 4ab347388..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[5.0] +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