Fixes and new endpoints
- Fixed doctor and patient PUT queries - Added patient register - Added doctor register - Added email verification check middleware - Added verified status to doctor table
This commit is contained in:
@@ -100,6 +100,7 @@ CREATE TABLE doctors (
|
||||
phone VARCHAR(20) NOT NULL,
|
||||
speciality VARCHAR(255) NOT NULL,
|
||||
status VARCHAR(255) NOT NULL,
|
||||
is_verified BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
PRIMARY KEY (id),
|
||||
CONSTRAINT dt_user_id
|
||||
FOREIGN KEY (user_id)
|
||||
|
||||
Reference in New Issue
Block a user