The below code entry is already in DB, Now I need to add one field to customer id and want to rerun this code via programmatically.
$this->getSelect()->join(
['detail' => $this->getReviewDetailTable()], 'main_table.review_id = detail.review_id', ['detail_id', 'title', 'detail', 'nickname', 'customer_id']
);
I have created a custom module from for Product Review. In above I have overrides the Magento review collection class, while overriding this part shows error as
You cannot define a correlation name 'detail' more than once
So Now In my override class I have added the one more field, But DB has the entry already. I also need to handle this while updating or overriding in my class so pls provide me a solution