MIF_E31221222/sigap-website/prisma
vergiLgood1 0747897fc7 Refactor database privileges and schema management
- Created migration scripts to manage the 'prisma' role and its privileges across various schemas including 'public', 'gis', 'auth', and 'storage'.
- Added explicit grants for all necessary tables, sequences, and functions to ensure the 'prisma' role has appropriate access.
- Implemented triggers for user management in the 'auth' schema to handle new user creation, updates, and deletions.
- Established default privileges for future objects in the specified schemas to streamline permission management.
- Updated remote schema management scripts to include grants for 'postgres' on specific tables and functions.
- Dropped and recreated types in the 'gis' schema to ensure proper structure and functionality.
2025-05-05 23:39:01 +07:00
..
backups Refactor database privileges and schema management 2025-05-05 23:39:01 +07:00
data feat: Add CrimePopup and DistrictPopup components for displaying crime data on the map 2025-05-02 22:19:54 +07:00
migrations feat: enhance crime incidents seeder with year validation and import all-year summaries 2025-04-25 16:58:32 +07:00
seeds Refactor database privileges and schema management 2025-05-05 23:39:01 +07:00
utils feat: add initial data seeding for resources, roles, demographics, crime incidents, and geographic data 2025-04-25 02:04:04 +07:00
db.ts refactor add user and invite user 2025-03-22 23:20:31 +07:00
schema.prisma feat: enhance crime incidents seeder with year validation and import all-year summaries 2025-04-25 16:58:32 +07:00
seed.ts feat: enhance crime incidents seeder with year validation and import all-year summaries 2025-04-25 16:58:32 +07:00