mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-07-23 02:54:40 +00:00
10 lines
316 B
Ruby
10 lines
316 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddUpdatedByToCustomFields < Gitlab::Database::Migration[2.2]
|
|
milestone '17.6'
|
|
|
|
def change
|
|
add_reference :custom_fields, :updated_by, index: true, foreign_key: { on_delete: :nullify, to_table: :users } # rubocop:disable Migration/AddReference -- table is empty
|
|
end
|
|
end
|