CREATE TABLE public.appointment_expiring_notify_record ( id bigserial NOT NULL, appointment_id bigserial NOT NULL, send_time timestamp NULL, CONSTRAINT appointment_expiring_notify_record_pk PRIMARY KEY (id) );