Merge pull request #3904 from consul/audit_and_globalize
Don't audit Globalize data migrations
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
class AddBudgetInvestmentTranslations < ActiveRecord::Migration[4.2]
|
||||
def self.up
|
||||
Budget::Investment.create_translation_table!(
|
||||
{
|
||||
title: :string,
|
||||
description: :text
|
||||
},
|
||||
{ migrate_data: true }
|
||||
)
|
||||
Budget::Investment::Translation.without_auditing do
|
||||
Budget::Investment.create_translation_table!(
|
||||
{
|
||||
title: :string,
|
||||
description: :text
|
||||
},
|
||||
{ migrate_data: true }
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
def self.down
|
||||
|
||||
Reference in New Issue
Block a user