Add index to activities table

This commit is contained in:
Hillel Coren 2018-03-25 13:29:30 +03:00
parent dcac9809ea
commit c877359190

View File

@ -22,6 +22,7 @@ class AddSlackNotifications extends Migration
Schema::table('activities', function ($table) {
$table->foreign('client_id')->references('id')->on('clients')->onDelete('cascade');
$table->index('payment_id');
});
Schema::table('users', function ($table) {