debian-mirror-gitlab/db/migrate/20230505122015_add_lock_version_to_milestones.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
223 B
Ruby
Raw Normal View History

2023-07-09 08:55:56 +05:30
# frozen_string_literal: true
class AddLockVersionToMilestones < Gitlab::Database::Migration[2.1]
enable_lock_retries!
def change
add_column :milestones, :lock_version, :integer, null: false, default: 0
end
end