DEV: Minor fixes to b63b399799
.
This commit is contained in:
parent
b63b399799
commit
cb0f6d653b
|
@ -3,6 +3,10 @@
|
|||
require_dependency 'distributed_cache'
|
||||
|
||||
class Category < ActiveRecord::Base
|
||||
self.ignored_columns = %w{
|
||||
uploaded_meta_id
|
||||
}
|
||||
|
||||
include Searchable
|
||||
include Positionable
|
||||
include HasCustomFields
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require 'migration/column_dropper'
|
||||
|
||||
class RemoveUploadedMetaIdFromCategory < ActiveRecord::Migration[5.2]
|
||||
def up
|
||||
Migration::ColumnDropper.execute_drop(:categories, %i{uploaded_meta_id})
|
||||
|
|
Loading…
Reference in New Issue