mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
uh
This commit is contained in:
parent
b67b94dfa9
commit
bb8ebfc674
@ -1,7 +1,7 @@
|
||||
class TemporaryFieldMigrationService < Service
|
||||
def self.migrate_fields_for_content(content_model, user)
|
||||
return unless content_model.present? && user.present?
|
||||
return if content_model.persisted? && content_model.updated_at > 'September 1, 2018'.to_datetime1
|
||||
return if content_model.persisted? && content_model.updated_at > 'September 1, 2018'.to_datetime
|
||||
|
||||
# todo we might be able to do this in a single left outer join
|
||||
attribute_categories = content_model.class.attribute_categories(content_model.user)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user