debian-mirror-gitlab/db/migrate/20191111121500_default_ci_config_path.rb

16 lines
382 B
Ruby
Raw Normal View History

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