Fix a comment
This commit is contained in:
parent
3f111de12e
commit
0ec8809647
|
@ -295,7 +295,7 @@ bool ObjectStore::create_tables(Group *group, Schema &target_schema, bool update
|
||||||
for (auto& target_prop : target_props) {
|
for (auto& target_prop : target_props) {
|
||||||
auto current_prop = current_schema.property_for_name(target_prop.name);
|
auto current_prop = current_schema.property_for_name(target_prop.name);
|
||||||
|
|
||||||
// add any new properties (new name or different type)
|
// add any new properties (no old column or old column was removed due to not matching)
|
||||||
if (!current_prop || current_prop->table_column == npos) {
|
if (!current_prop || current_prop->table_column == npos) {
|
||||||
switch (target_prop.type) {
|
switch (target_prop.type) {
|
||||||
// for objects and arrays, we have to specify target table
|
// for objects and arrays, we have to specify target table
|
||||||
|
|
Loading…
Reference in New Issue