ALTER TABLE remote_notes ADD CONSTRAINT uniq_ap_id UNIQUE (ap_id);
