mandant-crm/backend/database/migrations
Tim Stollberg 71730fef06 feat: remove Filament, add user account management
- Remove Filament /admin panel completely (AdminPanelProvider, UserResource, routes)
- Update composer.json to remove filament/filament dependency
- Add User model soft deletes with SoftDeletes trait + migration
- Strengthen UserPolicy::delete to prevent deleting last remaining admin
- Build out User module following pattern: CreateUserAction, UpdateUserAction, GetUsersAction,
  UserResource, UserController, Create/UpdateUserRequest, UserData DTO
- Add /api/users routes (index, store, update, destroy), all admin-gated via policy
- Create frontend Settings > Accounts page (settings/accounts.vue) for admin user management
- Add useUsers composable mirroring useClient pattern
- Add "Benutzer" link to settings dropdown in clients/index.vue
- All tests pass; User soft-delete and last-admin protection verified

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-07-13 13:05:40 +07:00
..
2014_10_12_000000_create_users_table.php feat(db): add clients + history_entries migrations and factories 2026-06-23 16:55:04 +07:00
2014_10_12_100000_create_password_reset_tokens_table.php feat(db): add clients + history_entries migrations and factories 2026-06-23 16:55:04 +07:00
2019_08_19_000000_create_failed_jobs_table.php feat(db): add clients + history_entries migrations and factories 2026-06-23 16:55:04 +07:00
2019_12_14_000001_create_personal_access_tokens_table.php feat(db): add clients + history_entries migrations and factories 2026-06-23 16:55:04 +07:00
2026_06_23_095329_add_role_to_users_table.php feat(db): add clients + history_entries migrations and factories 2026-06-23 16:55:04 +07:00
2026_06_23_095329_create_clients_table.php feat(user): User model with role, UserPolicy, Filament admin resource 2026-06-23 17:10:28 +07:00
2026_06_23_095330_create_history_entries_table.php feat(db): add clients + history_entries migrations and factories 2026-06-23 16:55:04 +07:00
2026_07_13_042418_add_soft_deletes_to_users_table.php feat: remove Filament, add user account management 2026-07-13 13:05:40 +07:00