MIF_E31221222/sigap-website/supabase
vergiLgood1 c7bdb24ceb feat: Add triggers and functions for user management and location handling
- Implemented user creation, update, and deletion triggers to manage officer and standard user data.
- Created functions to handle user type changes and conditional updates based on user metadata.
- Added a function to retrieve nearby units based on geographical coordinates.
- Established triggers to update distance to units upon location changes.
- Created spatial indexes for efficient querying of units and locations.
- Added a function to delete the current user from the auth.users table.
2025-05-18 13:52:26 +07:00
..
migrations feat: Add triggers and functions for user management and location handling 2025-05-18 13:52:26 +07:00
seeds add seeds supaabse 2025-05-14 06:54:34 +07:00
.gitignore feat: add initial data seeding for resources, roles, demographics, crime incidents, and geographic data 2025-04-25 02:04:04 +07:00
config.toml feat: Update pubspec.yaml with new dependencies and local assets 2025-05-16 15:42:03 +07:00
seed.sql fix: Update district coordinates and improve unit seeding logic 2025-05-14 08:15:27 +07:00