more extensive upsert tests
This commit is contained in:
parent
beb7c19931
commit
a099682f0e
|
@ -275,6 +275,7 @@ bool ObjectStore::create_tables(Group *group, Schema &target_schema, bool update
|
||||||
case PropertyTypeObject:
|
case PropertyTypeObject:
|
||||||
case PropertyTypeArray: {
|
case PropertyTypeArray: {
|
||||||
TableRef link_table = ObjectStore::table_for_object_type(group, target_prop.object_type);
|
TableRef link_table = ObjectStore::table_for_object_type(group, target_prop.object_type);
|
||||||
|
REALM_ASSERT(link_table);
|
||||||
target_prop.table_column = table->add_column_link(DataType(target_prop.type), target_prop.name, *link_table);
|
target_prop.table_column = table->add_column_link(DataType(target_prop.type), target_prop.name, *link_table);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue