Validacion y restriccion de archivos + almacenamiento en carpeta

This commit is contained in:
2025-08-05 15:07:26 -04:00
parent e18c25e2ee
commit 8a54bf7138
10 changed files with 1613 additions and 74 deletions

View File

@@ -0,0 +1,6 @@
DROP VIEW "public"."v_product_store";--> statement-breakpoint
ALTER TABLE "products" ADD COLUMN "gallery" text[] DEFAULT '{}'::text[] NOT NULL;--> statement-breakpoint
CREATE VIEW "public"."v_product_store" AS (
select p.id as product_id, p.title, p.description, p.price, p.stock, p.url_img, p.gallery, p.address, p.status, p.user_id, u.fullname, u.email, u.phone
from products p
left join auth.users as u on u.id = p.user_id);

File diff suppressed because it is too large Load Diff

View File

@@ -50,6 +50,13 @@
"when": 1752507413748,
"tag": "0006_real_tyger_tiger",
"breakpoints": true
},
{
"idx": 7,
"version": "7",
"when": 1754420096323,
"tag": "0007_curved_fantastic_four",
"breakpoints": true
}
]
}