Fix a comment

This commit is contained in:
Thomas Goyne 2015-09-04 10:10:18 -07:00 committed by Ari Lazier
parent 3f111de12e
commit 0ec8809647
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ bool ObjectStore::create_tables(Group *group, Schema &target_schema, bool update
for (auto& target_prop : target_props) {
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) {
switch (target_prop.type) {
// for objects and arrays, we have to specify target table