When I type "php artisan migrate", it gives the following error:
BadMethodCallException : Method Illuminate\Database\Schema\Blueprint::password does not exist.
at C:\xampp\htdocs\laravellab1\vendor\laravel\framework\src\Illuminate\Support\Traits\Macroable.php:98 94| */ 95| public function __call($method, $parameters) 96| { 97| if (! static::hasMacro($method)) {
98| throw new BadMethodCallException(sprintf( 99| 'Method %s::%s does not exist.', static::class, $method 100|
)); 101| } 102|
Your migration has $table->password() in it I expect - change this to $table->string()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With