roberto.silva
80ae3cd85a
Se divide en dos migraciones para manejar el orden
2026-03-17 14:51:12 -06:00
roberto.silva
0746c9e799
Se corrige migracion en la declaracion de las funciones
2026-03-17 14:44:02 -06:00
roberto.silva
efdc9956f7
Se agregan reglas para criterios de evaluacion que no pueda exeder el 100%
Supa-backup / run_db_backup (pull_request) Successful in 33s
CI / test (pull_request) Failing after 34s
Deploy Function / deploy (pull_request) Successful in 23s
Deploy Migrations to Production / deploy (pull_request) Failing after 10s
2026-03-17 14:26:31 -06:00
roberto.silva
260cc74111
Aplicar migraciones de asignatura
...
Supa-backup / run_db_backup (pull_request) Successful in 37s
CI / test (pull_request) Failing after 2m4s
Deploy Function / deploy (pull_request) Successful in 25s
Deploy Migrations to Production / deploy (pull_request) Successful in 10s
fix #63
2026-03-17 12:55:11 -06:00
alexrg
a92cd1cf45
Actualizar supabase/migrations/20260218223516_1.0.0.sql
Deploy Function / deploy (push) Successful in 23s
Deploy Migrations to Production / deploy (push) Successful in 10s
Update database types / update (push) Successful in 13s
2026-03-12 13:24:06 +00:00
Guillermo.Arrieta
fb7a011148
Se cambiaron las columnas de bibliografia_asignatura
...
Deploy Function / deploy (push) Successful in 25s
Update database types / update (push) Successful in 12s
Deploy Migrations to Production / deploy (push) Successful in 10s
Se quitó la columna tipo_fuente y se renombró 'biblioteca_item_id' porque ahora se utilizarán las columnas referencia_bibliografia y referencia_en_linea para determinar el tipo de fuente
2026-03-11 16:46:02 -06:00
roberto.silva
18acc2b010
Se agrega columna nombre a tabla de asignatura_mensajes_ia para pintar nombres en los chats
Deploy Function / deploy (push) Successful in 26s
Deploy Migrations to Production / deploy (push) Successful in 11s
Update database types / update (push) Successful in 13s
2026-03-11 15:49:22 -06:00
alexrg
ff655e5598
Actualizar supabase/migrations/20260310154853_realtime.sql
Deploy Function / deploy (push) Successful in 23s
Deploy Migrations to Production / deploy (push) Successful in 12s
Update database types / update (push) Failing after 4s
2026-03-10 21:31:11 +00:00
alexrg
8d4c661c22
Actualizar supabase/migrations/20260310154853_realtime.sql
Deploy Function / deploy (push) Successful in 23s
Deploy Migrations to Production / deploy (push) Has been cancelled
2026-03-10 21:24:43 +00:00
alexrg
47e171a5b8
fix: add missing newline and comment for trigger testing in migration script
Deploy Function / deploy (push) Successful in 23s
Deploy Migrations to Production / deploy (push) Successful in 10s
2026-03-10 15:18:57 -06:00
Guillermo.Arrieta
caa340ef22
hotfix: se actualizó la semilla de la BDD y se corrigieron las migraciones
...
Deploy Function / deploy (push) Successful in 26s
Deploy Migrations to Production / deploy (push) Successful in 13s
La migración de realtime no era correcta. Hacía drop de la columna criterios_de_evaluacion de la tabla asignaturas y le hacían falta las publicaciones a realtime de planes_estudio y asignaturas
2026-03-10 13:31:28 -06:00
roberto.silva
b63857d38f
Se agrega realtime
2026-03-10 09:57:27 -06:00
Guillermo.Arrieta
d7e232eec7
fix #46 : Al generar asignaturas la IA también genera su sistema de evaluación
Deploy Function / deploy (push) Successful in 25s
Deploy Migrations to Production / deploy (push) Successful in 10s
2026-03-04 17:48:23 -06:00
roberto.silva
7543afb56f
Se resuelve conflicto
2026-03-04 09:31:30 -06:00
Guillermo.Arrieta
c12e2895a8
Merge branch 'main' into issue/35-crear-webhook-para-responses
2026-02-27 12:14:04 -06:00
Guillermo.Arrieta
4944f1d31a
Se añade el estado 'fallida' a la asignatura
2026-02-27 12:12:20 -06:00
alexrg
c7bd107297
refactor: remove unused functions for appending conversations in the database
2026-02-24 15:20:24 -06:00
alexrg
7ee9944ab5
feat: add @toon-format/toon dependency and integrate into OpenAI notebooks
...
- Updated deno.lock and package.json to include @toon-format/toon@^2.1.0.
- Modified background-openai.ipynb to handle error responses and adjust execution counts.
- Enhanced definitions-openai.ipynb to include additional metadata for perishables and origen schemas.
- Refactored embeddings-openai.ipynb to improve error handling and output formatting.
- Updated create-chat-conversation function to append messages and responses to conversations.
- Added SQL functions for appending conversation data to the database.
2026-02-24 15:20:19 -06:00
roberto.silva
49b1a9805b
Se agrega columna nombre de chat
Deploy Function / deploy (push) Successful in 1m33s
Deploy Migrations to Production / deploy (push) Successful in 18s
2026-02-23 15:23:57 -06:00
Guillermo.Arrieta
a028fd459f
hotfix 2: archivo de migración sobrante
Deploy Function / deploy (push) Successful in 20s
Deploy Migrations to Production / deploy (push) Successful in 14s
2026-02-18 17:50:26 -06:00
Guillermo.Arrieta
db3355f8ca
hotfix: nombre de migración sincronizado con BDD remota
Deploy Function / deploy (push) Successful in 21s
Deploy Migrations to Production / deploy (push) Failing after 12s
2026-02-18 17:45:34 -06:00
Guillermo.Arrieta
5c27e61ce4
Fue arreglado trigger de trg_planes_estudio_log_cambios y se le hizo squash a las migraciones de la BDD
Deploy Function / deploy (push) Successful in 21s
Deploy Migrations to Production / deploy (push) Successful in 9s
2026-02-18 16:29:27 -06:00
alexrg
ef42d74fea
fix: remove conversation_id update logic from cambios_plan trigger
2026-02-18 09:20:54 -06:00
alexrg
329faac742
fix: remove unnecessary constraint from planes_estudio table
Deploy Function / deploy (push) Successful in 22s
Deploy Migrations to Production / deploy (push) Successful in 9s
2026-02-17 11:31:12 -06:00
alexrg
63e0ea7fbf
feat: add OpenAI embeddings functionality and update Supabase migration
Deploy Function / deploy (push) Has been cancelled
Deploy Migrations to Production / deploy (push) Has been cancelled
2026-02-17 11:28:00 -06:00
Guillermo.Arrieta
7a81e448f4
hotfix: se cambió el estado default de las asignaturas y se arregló un error donde se requería código de asignatura no nulo
Deploy Function / deploy (push) Successful in 44s
Deploy Migrations to Production / deploy (push) Successful in 14s
2026-02-13 12:39:14 -06:00
Guillermo.Arrieta
9981b30260
feat: update subject suggestion guidelines and remove obsolete migration
...
CI / test (pull_request) Failing after 8s
- Enhanced the subject suggestion guidelines to specify that descriptions must not exceed 200 characters.
- Deleted the migration file for adding conversation_id to asignaturas and the associated view, as it is no longer needed.
2026-02-12 16:45:38 -06:00
Guillermo.Arrieta
2ff587d639
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.
2026-02-12 16:00:39 -06:00
Guillermo.Arrieta
93c7f11621
nueva edge function para la generación de sugerencais de asignaturas con IA
2026-02-12 16:00:00 -06:00
alexrg
53d9ab2876
Add trigger removal and logging function for cambios_planes_estudio
CI / test (pull_request) Failing after 2m19s
2026-02-12 15:13:19 -06:00
alexrg
484db49654
Refactor code structure for improved readability and maintainability
2026-02-12 10:35:52 -06:00
alexrg
0b72a227f1
Implement code changes to enhance functionality and improve performance
2026-02-12 10:04:42 -06:00
alexrg
c33089726c
Establecer permisos de funciones y eliminar funciones no utilizadas en las migraciones
2026-02-12 09:37:03 -06:00
Guillermo.Arrieta
e5657d6b0f
chore(db): actualizar esquema/backups (auditoría de planes, hashes y conversation_id)
...
- Agrega fn_log_cambios_planes_estudio y trigger para registrar cambios en cambios_plan, usando response_id (reemplaza interaccion_ia_id).
- Extiende planes_estudio con conversation_id (unique) y plan_hash; agrega asignatura_hash en asignaturas; corrige unaccent_immutable y añade extensión http.
- Actualiza seeds/backups (data_backup.sql / scheme_backup.sql) y ajusta script de diff (sql_para_local_como_remoto.sql), elimina el diff viejo y actualiza archivos auxiliares (deno.lock, CLI temp).
2026-02-05 15:52:56 -06:00
Guillermo.Arrieta
fdc8b688b3
generacion de plane exitosa y cambios en BDD
Deploy Function / deploy (push) Successful in 24s
2026-01-22 14:34:26 -06:00
Guillermo.Arrieta
bb734cddd8
wip
2026-01-22 14:30:52 -06:00