2019-12-26 22:10:19 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class DefaultCiConfigPath < ActiveRecord::Migration[5.2]
|
|
|
|
DOWNTIME = false
|
|
|
|
|
2020-05-24 23:13:21 +05:30
|
|
|
# rubocop:disable Migration/PreventStrings
|
2019-12-26 22:10:19 +05:30
|
|
|
def up
|
|
|
|
add_column :application_settings, :default_ci_config_path, :string, limit: 255
|
|
|
|
end
|
2020-05-24 23:13:21 +05:30
|
|
|
# rubocop:enable Migration/PreventStrings
|
2019-12-26 22:10:19 +05:30
|
|
|
|
|
|
|
def down
|
|
|
|
remove_column :application_settings, :default_ci_config_path
|
|
|
|
end
|
|
|
|
end
|