Browse Source

Changed the emfield_new method

Roland Haroutiounian 9 years ago
parent
commit
77f1db337b
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      lodel/datasource/mongodb/migration_handler.py

+ 1
- 4
lodel/datasource/mongodb/migration_handler.py View File

@@ -91,10 +91,7 @@ class MongoDbMigrationHandler(GenericMigrationHandler):
91 91
             self._create_field_in_collection(class_name, uid, new_state)
92 92
             return True
93 93
 
94
-        if new_state['internal']:
95
-            # TODO ?
96
-        else:
97
-            collection_name = self._class_collection_name_from_field(model, new_state)
94
+        collection_name = self._class_collection_name_from_field(model, new_state)
98 95
 
99 96
         field_definition = self._field_definition(new_state['data_handler'], new_state)
100 97
         self._create_field_in_collection(collection_name, uid, field_definition)

Loading…
Cancel
Save