debian-mirror-gitlab/db/migrate/20191125133353_add_target_path_to_broadcast_message.rb

12 lines
302 B
Ruby
Raw Normal View History

2020-01-01 13:55:28 +05:30
# frozen_string_literal: true
class AddTargetPathToBroadcastMessage < ActiveRecord::Migration[5.2]
DOWNTIME = false
2020-05-24 23:13:21 +05:30
# rubocop:disable Migration/PreventStrings
2020-01-01 13:55:28 +05:30
def change
add_column :broadcast_messages, :target_path, :string, limit: 255
end
2020-05-24 23:13:21 +05:30
# rubocop:enable Migration/PreventStrings
2020-01-01 13:55:28 +05:30
end