MIF_E31230069/spk_kontrakan/database/migrations
micko samawa 786743231c fix: Laravel Backend Security & Stability Improvements
- Add rate limiting (api:60/min, login:5/min, register:3/hour, saw:30/min)
- Implement centralized JSON error handler for all API exceptions
- Create 6 Form Request classes for input validation
- Fix N+1 query problems with withCount and eager loading
- Add caching for kriteria queries (1 hour cache)
- Create /api/health and /api/docs documentation endpoints
- Fix export system: CSV export instead of Excel (package not installed)
- Restrict CORS to specific origins, set Sanctum token expiration (30 days)
- Add error_code fields to all API responses
- Update pagination views to remove large arrow icons, replace with text buttons
- Fix field name consistency: use correct database columns
- Add SQL injection prevention via sort column whitelist
- Optimize pagination UI for Activity Logs and other pages
2026-02-26 00:19:15 +07:00
..
0001_01_01_000000_create_users_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
0001_01_01_000001_create_cache_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
0001_01_01_000002_create_jobs_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_10_02_124409_create_kontrakans_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_10_02_125254_create_laundries_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_11_11_134930_create_kriteria_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_11_20_063244_add_foto_to_kontrakan_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_11_20_112014_add_role_to_users_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_11_21_020557_add_foto_to_laundries_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_11_21_072729_add_satuan_kecepatan_to_laundries_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_11_21_073331_add_fasilitas_to_laundries_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_11_21_075025_create_layanan_laundry_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_11_21_075504_remove_layanan_fields_from_laundries_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_11_23_050544_add_coordinates_to_laundry_and_kontrakan_tables.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_11_27_034631_add_whatsapp_to_kontrakan_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_12_07_122957_create_galeri_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_12_07_125134_create_reviews_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_12_07_125147_create_favorites_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_12_11_204314_add_jumlah_kamar_to_kontrakans_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_12_11_204859_make_luas_nullable_in_kontrakans_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_12_11_205247_update_luas_to_jumlah_kamar_in_kriteria.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_12_19_000000_create_activity_logs_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_12_19_000001_add_soft_delete_to_users.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_12_19_193556_add_performance_indexes_to_activity_logs_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_12_26_000001_add_status_to_kontrakans.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2025_12_26_000002_create_bookings_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2026_01_01_155316_add_payment_proof_to_bookings_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2026_01_02_000001_add_user_role_to_users_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2026_01_02_000002_add_phone_to_users_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2026_01_17_000001_add_bathroom_count_to_kontrakans_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2026_01_30_091953_create_personal_access_tokens_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2026_01_31_110200_add_missing_fields_to_laundry_table.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2026_01_31_110500_update_layanan_laundry_structure.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2026_02_04_000000_revert_layanan_jenis_enum.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2026_02_04_100000_add_rating_and_waktu_proses_to_layanan_laundry.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
2026_02_05_000000_update_layanan_laundry_structure.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00