summaryrefslogtreecommitdiff
path: root/db/migrate/20180314145917_add_header_and_footer_banners_to_appearances_table.rb
blob: 8aba3448035b637b6de0884e838698d09d1798ba (plain)
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