option anme

This commit is contained in:
CHIEFSOFT\ameye
2025-08-23 22:57:58 -04:00
parent 017799d52e
commit d6c657e7b2
6 changed files with 37 additions and 33 deletions
+14 -5
View File
@@ -44,9 +44,16 @@ ALTER TABLE members ADD firstname VARCHAR(25);
ALTER TABLE members ADD lastname VARCHAR(25);
ALTER TABLE members ALTER COLUMN password TYPE VARCHAR(250);
ALTER TABLE members ADD country VARCHAR(3);
ALTER TABLE members ADD stripe_customer_id VARCHAR(100)
ALTER TABLE members ADD stripe_customer_id VARCHAR(100);
ALTER TABLE members ADD profile_completed timestamp without time zone DEFAULT NULL;
CREATE TABLE members_profile(
id SERIAL,
uid uuid DEFAULT uuid_generate_v4(),
@@ -61,7 +68,7 @@ CREATE TABLE members_profile(
ALTER TABLE ONLY members_profile
ADD CONSTRAINT members_members_profile_id_key UNIQUE (id);
ALTER TABLE members_profile OWNER TO merms_panel
--- ALTER TABLE members_profile OWNER TO merms_panel
CREATE TABLE members_session(
@@ -91,16 +98,18 @@ CREATE TABLE products (
);
ALTER TABLE ONLY products
ADD CONSTRAINT products_id_key UNIQUE (id);
INSERT INTO products (name,description,status,product_id, banner) VALUES ('Personal Website','Your personal professional web presence',1,'A000001', 'banner.jpg');
ALTER TABLE products ADD banner VARCHAR(100);
INSERT INTO products (name,description,status,product_id, banner) VALUES ('Personal Website','Your personal professional web presence',5,'A000001', 'banner.jpg');
INSERT INTO products (name,description,status,product_id, banner) VALUES ('Professional Website','Your healthcare practice online presence ',1,'A000002', 'banner.jpg');
INSERT INTO products (name,description,status,product_id, banner) VALUES ('Personal Blog','Blog to share your health care view',1,'A000003', 'banner.jpg');
INSERT INTO products (name,description,status,product_id, banner) VALUES ('Professional Blog','Booster your practice with engaging contents',1,'A000004', 'banner.jpg');
INSERT INTO products (name,description,status,product_id, banner) VALUES ('Practice EMR','Get Open EMR for practice management',1,'A000005', 'banner.jpg');
ALTER TABLE products ADD banner VARCHAR(100);
UPDATE products set banner = 'p'||id||'.jpg'
---- ===== STOP HERE
ALTER TABLE members ADD option_name VARCHAR(100) REFERENCES subscription_options(option_name);
CREATE TABLE products_details (
id SERIAL,