members profile
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user