dgvai/laravel-user-review

How to add custom columns in migration.

Closed this issue · 1 comments

If I want to add some other columns in the review migration table and add some value in it whenever user write any review then how could I achieve this? like in make review function is there any way to pass some other argument value to store in custom created column in the table?

dgvai commented

You can export the migration using php artisan vendor:publish --provider="DGvai\Review\ReviewerServiceProvider" and update your columns