debian-mirror-gitlab/db/migrate/20190613030606_enable_hashed_storage_by_default.rb
2019-09-04 21:01:54 +05:30

16 lines
359 B
Ruby

# frozen_string_literal: true
class EnableHashedStorageByDefault < ActiveRecord::Migration[5.1]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
change_column_default :application_settings, :hashed_storage_enabled, true
end
def down
change_column_default :application_settings, :hashed_storage_enabled, false
end
end