- 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. |
||
|---|---|---|
| .. | ||
| const | ||
| cookies | ||
| map | ||
| mock | ||
| supabase | ||
| types | ||
| authz.ts | ||
| clustering.ts | ||
| colors.ts | ||
| common.ts | ||
| crime-stats.ts | ||
| crime.ts | ||
| time.ts | ||
| validation.ts | ||