Remove deprecated attributes from SiteCustomization::Page
Some fields from SiteCustomization::page are translatable and we no longer need them. This commit will remove the annoying deprecation warning thrown by Globalize gem after gem version update.
This commit is contained in:
committed by
voodoorai2000
parent
9f1ca4941f
commit
6e49a09a21
@@ -0,0 +1,7 @@
|
||||
class RemoveDeprecatedTranslatableFieldsFromSiteCustomizationPages < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
remove_column :site_customization_pages, :title, :string
|
||||
remove_column :site_customization_pages, :subtitle, :string
|
||||
remove_column :site_customization_pages, :content, :text
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user