mirror of
https://github.com/yweber/lodel2.git
synced 2025-11-13 09:29:16 +01:00
Changed the emfield_new method
This commit is contained in:
parent
1739a009bb
commit
77f1db337b
1 changed files with 1 additions and 4 deletions
|
|
@ -91,10 +91,7 @@ class MongoDbMigrationHandler(GenericMigrationHandler):
|
|||
self._create_field_in_collection(class_name, uid, new_state)
|
||||
return True
|
||||
|
||||
if new_state['internal']:
|
||||
# TODO ?
|
||||
else:
|
||||
collection_name = self._class_collection_name_from_field(model, new_state)
|
||||
collection_name = self._class_collection_name_from_field(model, new_state)
|
||||
|
||||
field_definition = self._field_definition(new_state['data_handler'], new_state)
|
||||
self._create_field_in_collection(collection_name, uid, field_definition)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue