1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
| INFO Running migrations.
2014_10_12_000000_create_users_table .................................................. 99ms DONE 2014_10_12_100000_create_password_resets_table ........................................ 97ms DONE 2019_08_19_000000_create_failed_jobs_table ............................................ 92ms DONE 2019_12_14_000001_create_personal_access_tokens_table ................................ 139ms DONE PHP Fatal error: Cannot declare class CreateShopOrder, because the name is already in use in /Users/liuyulong/laravel_app/database/migrations/2021_03_25_152312_create_shop_order_table.php on line 7
Symfony\Component\ErrorHandler\Error\FatalError
Cannot declare class CreateShopOrder, because the name is already in use
at database/migrations/2021_03_25_152312_create_shop_order_table.php:7 3▕ use Illuminate\Database\Migrations\Migration; 4▕ use Illuminate\Database\Schema\Blueprint; 5▕ use Illuminate\Support\Facades\Schema; 6▕ ➜ 7▕ class CreateShopOrder extends Migration 8▕ { 9▕ /** 10▕ * Run the migrations. 11▕ *
Whoops\Exception\ErrorException
Cannot declare class CreateShopOrder, because the name is already in use
at database/migrations/2021_03_25_152312_create_shop_order_table.php:7 3▕ use Illuminate\Database\Migrations\Migration; 4▕ use Illuminate\Database\Schema\Blueprint; 5▕ use Illuminate\Support\Facades\Schema; 6▕ ➜ 7▕ class CreateShopOrder extends Migration 8▕ { 9▕ /** 10▕ * Run the migrations. 11▕ *
+1 vendor frames 2 [internal]:0 Whoops\Run::handleShutdown()
|