Honor is_nullable when creating columns

This commit is contained in:
Thomas Goyne 2015-09-03 14:48:24 -07:00
parent ea5c47510b
commit 0eb0bd14d7
1 changed files with 3 additions and 1 deletions

View File

@ -309,7 +309,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;
}