laravel change column index code example Example: how to index column in laravel $table->index(['account_id', 'created_at']);