summaryrefslogtreecommitdiff
path: root/db/migrate/20191111121500_default_ci_config_path.rb
blob: 3914058d35b3d52a163202e206ca4b129b4326dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class DefaultCiConfigPath < ActiveRecord::Migration[5.2]
  DOWNTIME = false

  # rubocop:disable Migration/PreventStrings
  def up
    add_column :application_settings, :default_ci_config_path, :string, limit: 255
  end
  # rubocop:enable Migration/PreventStrings

  def down
    remove_column :application_settings, :default_ci_config_path
  end
end