debian-mirror-gitlab/db/post_migrate/20200429002150_cleanup_sprints_state_rename.rb
2020-05-25 16:23:42 +05:30

17 lines
364 B
Ruby

# frozen_string_literal: true
class CleanupSprintsStateRename < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def up
cleanup_concurrent_column_rename :sprints, :state, :state_enum
end
def down
undo_cleanup_concurrent_column_rename :sprints, :state, :state_enum
end
end