MIF_E31221222/sigap-website/prisma/data
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
..
excels fix: Update district coordinates and improve unit seeding logic 2025-05-14 08:15:27 +07:00
geojson/jember feat: Implement migration and seeding for officers and patrol units 2025-05-16 00:50:30 +07:00
jsons feat: Implement migration and seeding for officers and patrol units 2025-05-16 00:50:30 +07:00