I am trying do to a very basic migration. When i run php artisan migrate i get this error:
Migrating: 2019_12_14_000001_create_personal_access_tokens_table
Illuminate\Database\QueryException
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'personal_access_tokens' already exists (SQL: create tab....///
As you can see, I dont have that "2019_12_14_000001_create_personal_access_tokens_table" migration in my migrations table.
I have done the following:
php artisan cache:clear
php artisan config:clear
./composer dump-autoload
And im still getting this ghost migration. What should i do?
The contents of the create_file_table file I am trying to run is:
public function up()
{
Schema::create('files', function (Blueprint $table) {
$table->id();
$table->string('quoteNumber');
$table->string('purchaseOrderNumber');
$table->string('name')->nullable();
$table->string('file_path')->nullable();
$table->timestamps();
});
}
