将 015–023 双文件冲突线性化为 015–050;提供已有库 schema_migrations 修复脚本;admin Playwright 对齐 /psy/admin/ 预览路径。 Co-authored-by: Cursor <cursoragent@cursor.com>
5 lines
205 B
SQL
5 lines
205 B
SQL
UPDATE admin_accounts SET role_id = NULL WHERE role_id IS NOT NULL;
|
|
ALTER TABLE admin_accounts DROP COLUMN IF EXISTS role_id;
|
|
DROP TABLE IF EXISTS admin_role_permissions;
|
|
DROP TABLE IF EXISTS admin_roles;
|