debian-mirror-gitlab/db/migrate/20191111121500_default_ci_config_path.rb
2020-05-24 23:13:21 +05:30

15 lines
382 B
Ruby

# 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