16 lines
311 B
Ruby
16 lines
311 B
Ruby
![]() |
# frozen_string_literal: true
|
||
|
|
||
|
class TrackDeletionsInChatNames < Gitlab::Database::Migration[1.0]
|
||
|
include Gitlab::Database::MigrationHelpers::LooseForeignKeyHelpers
|
||
|
|
||
|
enable_lock_retries!
|
||
|
|
||
|
def up
|
||
|
track_record_deletions(:chat_names)
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
untrack_record_deletions(:chat_names)
|
||
|
end
|
||
|
end
|