debian-mirror-gitlab/db/post_migrate/20200429002150_cleanup_sprints_state_rename.rb

18 lines
364 B
Ruby
Raw Normal View History

2020-05-24 23:13:21 +05:30
# 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