|
@@ -237,7 +237,7 @@ class MysqlMigrationHandler(EditorialModel.migrationhandler.dummy.DummyMigration
|
237
|
237
|
def _class2cols(self, emclass):
|
238
|
238
|
if not isinstance(emclass, EditorialModel.classes.EmClass):
|
239
|
239
|
raise ValueError("The given uid is not an EmClass uid")
|
240
|
|
- return { f.name: f.fieldtype_instance() for f in emclass.fields() }
|
|
240
|
+ return { f.name: f.fieldtype_instance() for f in emclass.fields() if f.name not in EditorialModel.classtypes.common_fields.keys() }
|
241
|
241
|
|
242
|
242
|
## @brief Create object and relations tables
|
243
|
243
|
# @param drop_if_exist bool : If true drop tables if exists
|