mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
require user to migrate new fields for them
This commit is contained in:
parent
821dec5a3a
commit
191dbd095d
@ -39,6 +39,7 @@ class TemporaryFieldMigrationService < Service
|
||||
existing_value.update!(value: value_from_model)
|
||||
existing_value.disable_changelog_this_request = false
|
||||
else
|
||||
next unless user
|
||||
new_value = attribute_field.attribute_values.new(
|
||||
user_id: user.id,
|
||||
entity_type: content_model.class.name,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user