Explicitly set column nullable when unspecified (#11572)

This commit is contained in:
Oreille
2022-02-10 17:41:55 +01:00
committed by GitHub
parent 0f7dfcca99
commit c0fab454fd

View File

@@ -555,7 +555,7 @@ export class FieldsService {
if (!alter || alter.is_nullable === true) {
column.notNullable();
}
} else if (field.schema?.is_nullable === true) {
} else {
if (!alter || alter.is_nullable === false) {
column.nullable();
}