MIF_E31221222/sigap-website/prisma
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
..
backups feat: Implement migration and seeding for officers and patrol units 2025-05-16 00:50:30 +07:00
data feat: Implement migration and seeding for officers and patrol units 2025-05-16 00:50:30 +07:00
migrations feat: Implement migration and seeding for officers and patrol units 2025-05-16 00:50:30 +07:00
seeds feat: Implement migration and seeding for officers and patrol units 2025-05-16 00:50:30 +07:00
utils feat: add initial data seeding for resources, roles, demographics, crime incidents, and geographic data 2025-04-25 02:04:04 +07:00
db.ts refactor add user and invite user 2025-03-22 23:20:31 +07:00
schema.prisma feat: Implement migration and seeding for officers and patrol units 2025-05-16 00:50:30 +07:00
seed.ts feat: Implement migration and seeding for officers and patrol units 2025-05-16 00:50:30 +07:00