feat: opcion de update a asignaturas ya creadas para ponerles la información generada con IA
- Created a new enum type "estado_asignatura" with values 'borrador', 'revisada', 'aprobada', and 'generando'. - Added a new column "estado" to the "asignaturas" table, defaulting to 'generando'. - Implemented a trigger function to log changes in the "planes_estudio" table, capturing inserts, updates, and deletes. - Updated the logging mechanism to track changes in various fields, including JSONB data. - Removed the "asignaturas" table from the supabase_realtime publication. - Added a script for generating TypeScript types from the local Supabase database.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
Usar --local para generar tipos de la BDD local, y --linked para generar tipos de la BDD remota.
|
||||
cmd /c "dx supabase gen types typescript --local > database-types.ts"
|
||||
Reference in New Issue
Block a user