[feat]:[FL-172][用户管理页面新增用户时邮箱放最后,且不要必填]

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
chengkai3
2026-06-18 00:34:03 +08:00
parent e37ecac9af
commit 6519fee729
5 changed files with 35 additions and 21 deletions
+9
View File
@@ -0,0 +1,9 @@
-- Migration: Make user email column nullable
-- Date: 2026-06-18
-- Description: Modify users table to make email column nullable to support optional email during user creation
ALTER TABLE users ALTER COLUMN email DROP NOT NULL;
-- Notes:
-- This migration allows users to be created without an email address.
-- The email field remains unique when provided.