Update & Refactor

This commit is contained in:
PB
2024-12-24 14:29:04 +01:00
parent a856f24132
commit 6848b55101
14 changed files with 202 additions and 36 deletions

View File

@@ -1,8 +1,8 @@
CREATE TABLE catalog.product
(
id integer NOT NULL GENERATED ALWAYS AS IDENTITY,
pid character varying NOT NULL,
name character varying NOT NULL,
pid uuid NOT NULL DEFAULT gen_random_uuid(),
"name" character varying NOT NULL,
price double precision NOT NULL,
created_at timestamp without time zone NOT NULL DEFAULT now(),
updated_at timestamp without time zone,