Honor is_nullable when creating columns
This commit is contained in:
parent
f7222803df
commit
d7fd525dc2
|
@ -310,7 +310,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