Error: Use of undefined constant result -assumed 'result' <this will throw an Error in a future version of PHP> Laravel migration issue
10:34 26 Jul 2020

I'm trying to develop a website with Laravel and ican't seem to create the table 'ens' getting the following error:

Use of undefined constant result -assumed 'result' 

and then it indicated the line

         $table->string('photo',150)->ingres_field_nullable(result, index); 

from the following code of ens table migration

   increments('id');
          $table->string('name');
        $table->string('email')->unique();
        $table->string('password');
        $table->string('photo',150)->ingres_field_nullable(result, index);
        $table->rememberToken();
        $table->timestamps();
    });
     }

    public function down()
   {
    Schema::dropIfExists('ens');
    }
  }
   

I can't migrate my DB table 'ens' because of it :/

Is there anything I can do to fix it? Thank you!

php mysql laravel database laravel-5