20180314145917_add_header_and_footer_banners_to_appearances_table.rb 539 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# frozen_string_literal: true

class AddHeaderAndFooterBannersToAppearancesTable < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :appearances, :header_message, :text
    add_column :appearances, :header_message_html, :text

    add_column :appearances, :footer_message, :text
    add_column :appearances, :footer_message_html, :text

    add_column :appearances, :message_background_color, :text
    add_column :appearances, :message_font_color, :text
  end
end