CREATE TABLE omo.custom_favorite_consultant ( id serial4 NOT NULL, consultant_id int8 NOT NULL, custom_id int8 NOT NULL, created_date timestamp NULL, created_by varchar NULL, last_modified_date timestamp NULL, last_modified_by varchar NULL, contact_status varchar NULL, CONSTRAINT custom_consultant_list_pk PRIMARY KEY (id), CONSTRAINT custom_consultant_list_fk FOREIGN KEY (consultant_id) REFERENCES omo.consultant(id) );