BigW Consortium Gitlab

20170214084746_add_default_artifacts_expiration_to_application_settings.rb 287 Bytes
Newer Older
1 2 3 4 5 6 7
class AddDefaultArtifactsExpirationToApplicationSettings < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :application_settings,
8 9
      :default_artifacts_expire_in, :string,
      null: false, default: '0'
10 11
  end
end