MIF_E31221222/sigap-website/app/_utils
vergiLgood1 77c865958a feat: Add crime data JSON and district center data for crime incidents
feat: Update database schema to allow nullable year in crimes table

feat: Create test table for future use in migrations

feat: Add crime_cleared column to crimes table and drop test table

feat: Add city_id column to units table and adjust district_id constraints

feat: Add phone column to units table

feat: Add avg_crime column to crimes table

feat: Implement seeder for crime incidents with detailed mock data generation

feat: Add trigger and function for calculating distance to district's police unit
2025-05-12 08:17:26 +07:00
..
const feat: Add crime data JSON and district center data for crime incidents 2025-05-12 08:17:26 +07:00
cookies change project structure 2025-03-12 16:13:57 +07:00
map Add crime data CSV files and update database schema 2025-05-11 14:44:14 +07:00
mock feat: Add Panic Button Demo component and EWS Alert Layer for incident management 2025-05-07 10:23:54 +07:00
supabase add some stuff 2025-04-27 22:41:27 +07:00
types Add crime data CSV files and update database schema 2025-05-11 14:44:14 +07:00
authz.ts init model rbac 2025-04-07 20:50:57 +07:00
clustering.ts feat: add crime map components and functionality 2025-04-14 23:47:44 +07:00
colors.ts feat: Add timeline and units layers to the map component 2025-05-05 10:38:11 +07:00
common.ts Refactor seeding scripts to utilize generateIdWithDbCounter for unique ID generation across crime categories, incidents, and units. Implement a new utility function for generating distributed points within district areas to enhance incident location variability. Comment out unnecessary type drops and creations in SQL migration files for clarity. Add migration scripts to drop and re-add the phone field in the units table, ensuring data integrity during schema updates. 2025-05-06 01:21:04 +07:00
crime-stats.ts feat: add crime and district popups with detailed information and filtering capabilities 2025-05-02 22:20:22 +07:00
map.ts Refactor database privileges and schema management 2025-05-05 23:39:01 +07:00
time.ts feat: Add timeline and units layers to the map component 2025-05-05 10:38:11 +07:00
validation.ts init model rbac 2025-04-07 20:50:57 +07:00