-- 给字段设置默认值 ALTER TABLE t_sys_user ALTER COLUMN user_phone SET DEFAULT ''; -- 修改非空约束等 ALTER TABLE t_sys_user MODIFY COLUMN `user_phone` varchar(16) NOT NULL DEFAULT '';
posted on 2023-05-04 19:42 疯狂的妞妞 阅读(108) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 疯狂的妞妞 Powered by .NET 9.0 on Kubernetes