Untitled

mail@pastecode.io avatar
unknown
sql
a year ago
1.9 kB
3
Indexable
PS C:\xampp\htdocs\UMS_backend> php artisan migrate

   INFO  Running migrations.

PHP Fatal error:  Cannot declare class CreateEmployeeQualificationsTable, because the name is already in use in C:\xampp\htdocs\UMS_backend\database\migrations\2023_05_29_114112_create_employee_certificates_table.php on line 8

   Symfony\Component\ErrorHandler\Error\FatalError 

  Cannot declare class CreateEmployeeQualificationsTable, because the name is already in use

  at C:\xampp\htdocs\UMS_backend\database\migrations\2023_05_29_114112_create_employee_certificates_table.php:8
      4▕ use Illuminate\Database\Migrations\Migration;
      5▕ use Illuminate\Database\Schema\Blueprint;
      6▕ use Illuminate\Support\Facades\Schema;
      7▕
  ➜   8▕ class CreateEmployeeQualificationsTable extends Migration
      9▕ {
     10▕     /**
     11▕      * Run the migrations.
     12▕      *


   Whoops\Exception\ErrorException 

  Cannot declare class CreateEmployeeQualificationsTable, because the name is already in use

  at C:\xampp\htdocs\UMS_backend\database\migrations\2023_05_29_114112_create_employee_certificates_table.php:8
      4▕ use Illuminate\Database\Migrations\Migration;
      5▕ use Illuminate\Database\Schema\Blueprint;
      6▕ use Illuminate\Support\Facades\Schema;
      7▕
  ➜   8▕ class CreateEmployeeQualificationsTable extends Migration
      9▕ {
     10▕     /**
     11▕      * Run the migrations.
     12▕      *

  1   C:\xampp\htdocs\UMS_backend\vendor\filp\whoops\src\Whoops\Run.php:514
      Whoops\Run::handleError("Cannot declare class CreateEmployeeQualificationsTable, because the name is already in use", "C:\xampp\htdocs\UMS_backend\database\migrations\2023_05_29_114112_create_employee_certificates_table.php")

  2   [internal]:0
      Whoops\Run::handleShutdown()