Honor is_nullable when creating columns

This commit is contained in:
Thomas Goyne 2015-09-03 14:48:24 -07:00 committed by Ari Lazier
parent f7222803df
commit d7fd525dc2
1 changed files with 3 additions and 1 deletions

View File

@ -310,7 +310,9 @@ bool ObjectStore::create_tables(Group *group, Schema &target_schema, bool update
break;
}
default:
target_prop.table_column = table->add_column(DataType(target_prop.type), target_prop.name);
target_prop.table_column = table->add_column(DataType(target_prop.type),
target_prop.name,
target_prop.is_nullable);
break;
}