Support the ongoing development of Laravel.io →
Architecture Authorization Blade

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)

Last updated by @crxcruso 2 years ago.
0
moderator

Hello @crxcruso can you show the migration and your Laravel version?

0

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.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.