fix(hr-seeds): fix department type constraint + create employee login accounts
- Phase_05_001: changed department_type from 'edara' to 'idara' (CHECK constraint only allows 'idara'/'qism')
- Phase_05_002: create employees table records before hr_employee_profiles to satisfy FK constraint
- Generates unique usernames (emp0001, emp0002, ...)
- Sets default password 'Club@2026' with force_password_change=1
- Links hr_employee_profiles.employee_id to newly created employees.id
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment