INSERT OR IGNORE INTO perm_entity( platform, entity_type, external_id ) VALUES( ?, ?, ? );