New reports

This commit is contained in:
CHIEFSOFT\ameye
2025-07-25 12:18:51 -04:00
parent dc9d18fc54
commit a452e3589f
6 changed files with 58 additions and 3 deletions
+17
View File
@@ -94,6 +94,23 @@ CREATE TABLE products (
ALTER TABLE ONLY products_details
ADD CONSTRAINT products_details_id_key UNIQUE (id);
CREATE TABLE member_product_refresh(
id SERIAL,
uid uuid DEFAULT uuid_generate_v4(),
member_id INT REFERENCES members(id),
product_id VARCHAR(25) NOT NULL,
subscription_uid VARCHAR(100) UNIQUE NOT NULL,
status INT DEFAULT 0,
added timestamp without time zone DEFAULT now(),
updated timestamp without time zone DEFAULT now()
);
ALTER TABLE ONLY member_product_refresh
ADD CONSTRAINT member_product_refresh_id_key UNIQUE (id);
ALTER TABLE products_details OWNER TO merms_panel;
--- ALTER TABLE products_details ADD sale_text TEXT;