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

20 lines
357 B
Ruby

# frozen_string_literal: true
class AddIterationIdToBoardsTable < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
with_lock_retries do
add_column :boards, :iteration_id, :bigint
end
end
def down
with_lock_retries do
remove_column :boards, :iteration_id
end
end
end