When the platform company (CNPJ 00000000000000) already exists in the DB, RegisterAccount was failing with a unique constraint error before creating the admin user. Now the bootstrap checks for the existing company first and binds the new admin user directly to it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| config | ||
| domain | ||
| http | ||
| infrastructure | ||
| repository/postgres | ||
| server | ||
| usecase | ||