feat: update subject suggestion guidelines and remove obsolete migration
CI / test (pull_request) Failing after 8s
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.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -248,7 +248,7 @@ Deno.serve(async (req: Request): Promise<Response> => {
|
||||
`2) No repitas nombres que ya existan en el plan ni los nombres de las sugerencias conservadas.\n` +
|
||||
`3) Tampoco repitas nombres entre tus nuevas sugerencias.\n` +
|
||||
`4) Evita nombres demasiado similares (diferencias solo por mayúsculas, tildes, signos o palabras triviales).\n` +
|
||||
`5) Cada sugerencia debe incluir un nombre y una descripción clara y útil.\n\n` +
|
||||
`5) Cada sugerencia debe incluir un nombre y una descripción clara y útil (sin pasarse del límite de 200 caracteres).\n\n` +
|
||||
`Lista de nombres prohibidos (normalizados):\n` +
|
||||
forbiddenNames.map((n) => `- ${n}`).join("\n");
|
||||
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
drop view if exists "public"."plantilla_plan";
|
||||
|
||||
alter table "public"."asignaturas" add column "conversation_id" text;
|
||||
|
||||
CREATE UNIQUE INDEX asignaturas_conversation_id_key ON public.asignaturas USING btree (conversation_id);
|
||||
|
||||
alter table "public"."asignaturas" add constraint "asignaturas_conversation_id_key" UNIQUE using index "asignaturas_conversation_id_key";
|
||||
|
||||
create or replace view "public"."plantilla_plan" as SELECT plan.id AS plan_estudio_id,
|
||||
struct.id AS estructura_id,
|
||||
struct.template_id
|
||||
FROM (public.planes_estudio plan
|
||||
JOIN public.estructuras_plan struct ON ((plan.estructura_id = struct.id)));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user