actualizaciones

This commit is contained in:
Nurfog committed 2026-03-03 17:44:24 -03:00
1 parent 15f2649777
commit 4458decd22
14 files changed
+339 -15

No files matched your search

@@ -12,7 +12,7 @@ DECLARE
v_org_id UUID;
BEGIN
-- Find or create organization
IF p_org_name IS NULL OR p_org_name = '' OR p_org_name = 'Default Organization' THEN
IF p_org_name IS NULL OR p_org_name = '' OR p_org_name = 'Default Organization' OR p_org_name = 'Organización por Defecto' THEN
v_org_id := '00000000-0000-0000-0000-000000000001';
ELSE
INSERT INTO organizations (name)
@@ -0,0 +1,3 @@
-- Add video_generation_status and video_generation_error to lessons table
ALTER TABLE lessons ADD COLUMN IF NOT EXISTS video_generation_status VARCHAR(20) DEFAULT 'idle';
ALTER TABLE lessons ADD COLUMN IF NOT EXISTS video_generation_error TEXT;