18 lines
371 B
Ruby
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
|