feat: 初始化考培练系统项目
- 从服务器拉取完整代码 - 按框架规范整理项目结构 - 配置 Drone CI 测试环境部署 - 包含后端(FastAPI)、前端(Vue3)、管理端 技术栈: Vue3 + TypeScript + FastAPI + MySQL
This commit is contained in:
10
backend/scripts/alter_users_email_nullable.sql
Normal file
10
backend/scripts/alter_users_email_nullable.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
-- 修改users表email字段为可空
|
||||
-- 用于支持员工同步功能,部分员工可能没有邮箱
|
||||
|
||||
-- 修改email字段为可空
|
||||
ALTER TABLE users MODIFY COLUMN email VARCHAR(100) NULL COMMENT '邮箱';
|
||||
|
||||
-- 验证修改
|
||||
DESCRIBE users;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user