Files
K12Study/init/pg/auth/20_init_auth_seed.sql

7 lines
342 B
MySQL
Raw Normal View History

2026-04-14 16:27:47 +08:00
INSERT INTO auth.tb_auth_login_audit (
2026-04-14 18:14:41 +08:00
audit_id, user_id, username, adcode, tenant_id, tenant_path, dept_id, dept_path, login_ip, login_status
2026-04-14 16:27:47 +08:00
) VALUES (
2026-04-14 18:14:41 +08:00
'audit-bootstrap-001', 'U10001', 'admin', '330100', 'SCH-HQ', '/SCH-HQ/', 'DEPT-HQ-ADMIN', '/DEPT-HQ/DEPT-HQ-ADMIN/', '127.0.0.1', 'BOOTSTRAP'
2026-04-14 16:27:47 +08:00
)
ON CONFLICT (audit_id) DO NOTHING;