debian-mirror-gitlab/db/migrate/20201217111448_change_pages_deployment_size_to_bigint.rb
2021-02-22 17:27:13 +05:30

18 lines
371 B
Ruby

# frozen_string_literal: true
class ChangePagesDeploymentSizeToBigint < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def up
change_column_type_concurrently :pages_deployments, :size, :bigint
end
def down
undo_change_column_type_concurrently :pages_deployments, :size
end
end