Pritam@DESKTOP-0GHQ2QT MINGW64 /c/xampp/htdocs/gety-our-homes (main) $ php artisan migrate:fresh --seed Dropped all tables successfully. Migration table created successfully. Migrating: 2014_10_12_000000_create_users_table Migrated: 2014_10_12_000000_create_users_table (0.38 seconds) Migrating: 2014_10_12_100000_create_password_resets_table Migrated: 2014_10_12_100000_create_password_resets_table (0.24 seconds) Migrating: 2019_08_19_000000_create_failed_jobs_table Migrated: 2019_08_19_000000_create_failed_jobs_table (0.14 seconds) Migrating: 2019_12_14_000001_create_personal_access_tokens_table
BadMethodCallException : Method Illuminate\Database\Schema\Blueprint::id does not exist.
at C:\xampp\htdocs\gety-our-homes\vendor\laravel\framework\src\Illuminate\Support\Traits\Macroable.php:103 99| */ 100| public function __call($method, $parameters) 101| { 102| if (! static::hasMacro($method)) {
103| throw new BadMethodCallException(sprintf( 104| 'Method %s::%s does not exist.', static::class, $method 105| )); 106| } 107|
Exception trace:
1 Illuminate\Database\Schema\Blueprint::__call("id", []) C:\xampp\htdocs\gety-our-homes\database\migrations\2019_12_14_000001_create_personal_access_tokens_table.php:17
2 CreatePersonalAccessTokensTable::{closure}(Object(Illuminate\Database\Schema\Blueprint)) C:\xampp\htdocs\gety-our-homes\vendor\laravel\framework\src\Illuminate\Database\Schema\Builder.php:166
Please use the argument -v to see more details.
Pritam@DESKTOP-0GHQ2QT MINGW64 /c/xampp/htdocs/gety-our-homes (main)
Hello @crxcruso , It looks like your migration named "2019_12_14_000001_create_personal_access_tokens_table" is having some issue. Please share the code of the migration to help you better.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community