- 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. |
||
|---|---|---|
| .. | ||
| crime-category.ts | ||
| crime-incidents-cbt.ts | ||
| crime-incidents.ts | ||
| crimes.ts | ||
| demographic.ts | ||
| geographic.ts | ||
| incident-logs.ts | ||
| officers.ts | ||
| patrol-units.ts | ||
| permission.ts | ||
| resource.ts | ||
| role.ts | ||
| units.ts | ||