MIF_E31221222/sigap-website/supabase/migrations
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
..
20250421113117_remote_schema.sql feat: add initial data seeding for resources, roles, demographics, crime incidents, and geographic data 2025-04-25 02:04:04 +07:00
20250421114454_add_prisma_user.sql feat: add initial data seeding for resources, roles, demographics, crime incidents, and geographic data 2025-04-25 02:04:04 +07:00
20250421115005_remote_schema.sql Refactor database privileges and schema management 2025-05-05 23:39:01 +07:00
20250421115206_grant_privileges_to_prisma.sql feat: add initial data seeding for resources, roles, demographics, crime incidents, and geographic data 2025-04-25 02:04:04 +07:00
20250424033411_grant_deafult_previleges.sql feat: add initial data seeding for resources, roles, demographics, crime incidents, and geographic data 2025-04-25 02:04:04 +07:00
20250424180834_grant_deafult_previleges_again.sql feat: add initial data seeding for resources, roles, demographics, crime incidents, and geographic data 2025-04-25 02:04:04 +07:00
20250505150200_remote_schema.sql Refactor database privileges and schema management 2025-05-05 23:39:01 +07:00
20250505150857_remote_schema.sql Refactor database privileges and schema management 2025-05-05 23:39:01 +07:00
20250505161323_remote_schema.sql Refactor database privileges and schema management 2025-05-05 23:39:01 +07:00