alter table xxx
alter column xxx drop default
mysql 执行这条sql后程序报错
xxx。doesn’t have a default value
alter table xxx
alter column xxx set default null
允许该字段为null
alter table xxx
alter column xxx drop default
mysql 执行这条sql后程序报错
xxx。doesn’t have a default value
alter table xxx
alter column xxx set default null
允许该字段为null