2019-11-13 10:07:29 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class DefaultCiConfigPath < ActiveRecord::Migration[5.2]
|
|
|
|
DOWNTIME = false
|
|
|
|
|
2020-04-21 11:21:10 -04:00
|
|
|
# rubocop:disable Migration/PreventStrings
|
2019-11-13 10:07:29 -05:00
|
|
|
def up
|
|
|
|
add_column :application_settings, :default_ci_config_path, :string, limit: 255
|
|
|
|
end
|
2020-04-21 11:21:10 -04:00
|
|
|
# rubocop:enable Migration/PreventStrings
|
2019-11-13 10:07:29 -05:00
|
|
|
|
|
|
|
def down
|
|
|
|
remove_column :application_settings, :default_ci_config_path
|
|
|
|
end
|
|
|
|
end
|