Honor is_nullable when creating columns
This commit is contained in:
parent
ea5c47510b
commit
0eb0bd14d7
|
@ -309,7 +309,9 @@ bool ObjectStore::create_tables(Group *group, Schema &target_schema, bool update
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue