megrate delare column and index in laravel code example Example: laravel migration index $table->index(['account_id', 'created_at']);