Repository navigation
Replies: 2 comments 2 replies
|
`<?php use Illuminate\Database\Migrations\Migration; class CreateUserVerificationsTable extends Migration } |
0 replies
|
Try to replace Schema::table with Schema::create Schema::table is for altering existing Tables Schema::create creates a new Table |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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()
All reactions