ALTER TABLE dtb_send_customer ALTER COLUMN send_id DROP DEFAULT ; ALTER TABLE dtb_send_customer ADD PRIMARY KEY (send_id, customer_id) ;