Replies: 2 comments 2 replies
-
`<?php use Illuminate\Database\Migrations\Migration; class CreateUserVerificationsTable extends Migration
} |
Beta Was this translation helpful? Give feedback.
-
Try to replace Schema::table with Schema::create Schema::table is for altering existing Tables Schema::create creates a new Table |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following errors when creating migration
A table was not found: You might have forgotten to run your migrations. You can run your migrations using
php artisan migrate
.https://laravel.com/docs/master/migrations#running-migrations
1 C:\xampp\htdocs\salesplat\vendor\laravel\framework\src\Illuminate\Database\Connection.php:485
PDOException::("SQLSTATE[42S02]: Base table or view not found: 1146 Table 'salesplat.user_verifications' doesn't exist")
2 C:\xampp\htdocs\salesplat\vendor\laravel\framework\src\Illuminate\Database\Connection.php:485
PDOStatement::execute()
Beta Was this translation helpful? Give feedback.
All reactions