MIF_E31221222/sigap-website/app/_utils
vergiLgood1 4b0bae1bcd feat: Implement migration and seeding for officers and patrol units
- Added migration to change primary key type for patrol_units and update foreign key constraints in officers table.
- Created seeder for officers, generating random data and ensuring each officer is linked to a patrol unit.
- Developed seeder for patrol units, including logic for generating patrol types, statuses, and locations based on police units.
- Enhanced Supabase triggers for user creation, updates, and deletions to handle officer-specific logic and maintain data integrity.
- Introduced GIS functions and triggers to calculate distances between locations and units, optimizing spatial queries.
2025-05-16 00:50:30 +07:00
..
const feat: Implement migration and seeding for officers and patrol units 2025-05-16 00:50:30 +07:00
cookies change project structure 2025-03-12 16:13:57 +07:00
map Refactor map utility functions and components 2025-05-15 15:47:56 +07:00
mock feat: Add Panic Button Demo component and EWS Alert Layer for incident management 2025-05-07 10:23:54 +07:00
supabase add some stuff 2025-04-27 22:41:27 +07:00
types Refactor map utility functions and components 2025-05-15 15:47:56 +07:00
authz.ts init model rbac 2025-04-07 20:50:57 +07:00
clustering.ts feat: add crime map components and functionality 2025-04-14 23:47:44 +07:00
colors.ts feat: Add timeline and units layers to the map component 2025-05-05 10:38:11 +07:00
common.ts feat: Implement migration and seeding for officers and patrol units 2025-05-16 00:50:30 +07:00
crime-stats.ts feat: add crime and district popups with detailed information and filtering capabilities 2025-05-02 22:20:22 +07:00
crime.ts add filter source_type 2025-05-12 12:24:50 +07:00
time.ts feat: Add timeline and units layers to the map component 2025-05-05 10:38:11 +07:00
validation.ts init model rbac 2025-04-07 20:50:57 +07:00