- 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. |
||
|---|---|---|
| .. | ||
| districts-geojson.ts | ||
| districts.geojson | ||
| regency.geojson | ||
| villages.geojson | ||