回答:
ALTER TABLE YourTable ALTER COLUMN YourColumn columnType NULL
ALTER TABLE YourTable ALTER COLUMN YourColumn DROP NOT NULL
制約not nullを削除null
ALTER TABLE 'test' CHANGE COLUMN 'testColumn' 'testColumn' datatype NULL;
リファレンス:https : //www.tutorialspoint.com/How-can-we-remove-NOT-NULL-constraint-from-a-column-of-an-existing-MySQL-table
ALTER TABLE tableName MODIFY columnName columnType NULL;