mirror of
https://github.com/directus/directus.git
synced 2026-02-11 17:05:06 -05:00
Explicitly set column nullable when unspecified (#11572)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user