members profile

This commit is contained in:
CHIEFSOFT\ameye
2025-08-14 11:55:41 -04:00
parent 8dcb589716
commit a7cc90e75a
5 changed files with 164 additions and 7 deletions
+18
View File
@@ -48,6 +48,24 @@ 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(),
member_id INT REFERENCES members(id) UNIQUE NOT NULL,
practice VARCHAR(100) NOT NULL,
specialization VARCHAR(100) NOT NULL,
introduction TEXT,
added timestamp without time zone DEFAULT now(),
updated timestamp without time zone DEFAULT now()
);
ALTER TABLE ONLY members_profile
ADD CONSTRAINT members_members_profile_id_key UNIQUE (id);
ALTER TABLE members_profile OWNER TO merms_panel
-- UPDATE members SET account_name ='This is the account name';
-- UPDATE members SET firstname ='Firstname';