info vendedor + direccion del producto

This commit is contained in:
2025-07-14 10:11:06 -04:00
parent 3a0b29d3c1
commit f4e9379c34
12 changed files with 3126 additions and 25 deletions

View File

@@ -0,0 +1,6 @@
DROP VIEW "public"."v_product_store";--> statement-breakpoint
ALTER TABLE "products" ADD COLUMN "address" 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.user_id, u.fullname, u.email, u.phone
from products p
left join auth.users as u on u.id = p.user_id);

View File

@@ -0,0 +1,5 @@
DROP VIEW "public"."v_product_store";--> 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.address, 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

File diff suppressed because it is too large Load Diff

View File

@@ -29,6 +29,20 @@
"when": 1751482400155,
"tag": "0003_icy_gertrude_yorkes",
"breakpoints": true
},
{
"idx": 4,
"version": "7",
"when": 1752500116385,
"tag": "0004_colorful_aqueduct",
"breakpoints": true
},
{
"idx": 5,
"version": "7",
"when": 1752500607554,
"tag": "0005_little_bloodscream",
"breakpoints": true
}
]
}