generated from theradcoza/Laravel-Docker-Dev-Template
feat: add Shift Planning module with full CRUD, attendance, and reporting
- Add shifts, shift_staff, and shift_attendance migrations - Add Shift, ShiftStaff, ShiftAttendance Eloquent models with auditing - Add ShiftService with business logic (create, start, complete, assign staff, mark attendance, reports, timesheets) - Add ShiftResource with list, create, edit, and attendance management pages - Add staff and attendance relation managers - Add standalone pages: ActiveShifts, StaffManagement, ShiftReports, Timesheets - Add dashboard widgets: ShiftOverview stats, TodaysShifts table - Add ShiftPolicy for role-based authorization - Add 10 shift permissions and manager role to RolePermissionSeeder - Update User model with shift relationships - Fix audits table migration with required columns for owen-it/laravel-auditing - Update DatabaseSeeder to create admin user and call RolePermissionSeeder - Switch docker-compose to MariaDB 10.11 for Docker Desktop compatibility
This commit is contained in:
@@ -39,9 +39,9 @@ services:
|
||||
# Or: docker-compose --profile sqlite up
|
||||
# ============================================
|
||||
|
||||
# MySQL Database
|
||||
# MySQL-compatible Database (MariaDB)
|
||||
mysql:
|
||||
image: mysql:8.0
|
||||
image: mariadb:10.11
|
||||
container_name: laravel_mysql
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
@@ -53,7 +53,6 @@ services:
|
||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD:-rootsecret}
|
||||
volumes:
|
||||
- mysql_data:/var/lib/mysql
|
||||
- ./docker/mysql/my.cnf:/etc/mysql/conf.d/my.cnf
|
||||
networks:
|
||||
- laravel_network
|
||||
profiles:
|
||||
|
||||
Reference in New Issue
Block a user