Vista (intefaz y bd), esquema y endpoints de store agregados

This commit is contained in:
2025-07-02 15:10:54 -04:00
parent f5962efb8b
commit 365cbd0d7a
19 changed files with 1909 additions and 76 deletions

View File

@@ -0,0 +1,5 @@
ALTER TABLE "products" ALTER COLUMN "user_id" SET 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.user_id, u.fullname
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

@@ -22,6 +22,13 @@
"when": 1750442271575,
"tag": "0002_polite_franklin_richards",
"breakpoints": true
},
{
"idx": 3,
"version": "7",
"when": 1751482400155,
"tag": "0003_icy_gertrude_yorkes",
"breakpoints": true
}
]
}