BigW Consortium Gitlab

20170214084746_add_default_artifacts_expiration_to_application_settings.rb 287 Bytes
class AddDefaultArtifactsExpirationToApplicationSettings < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :application_settings,
      :default_artifacts_expire_in, :string,
      null: false, default: '0'
  end
end