Untitled
plain_text
22 days ago
4.7 kB
1
Indexable
Never
PS C:\xampp\htdocs\UMS_backend> php artisan migrate:fresh Dropping all tables .............................................................................................................. 623ms DONE INFO Preparing database. Creating migration table ......................................................................................................... 140ms DONE INFO Running migrations. 2014_10_12_100000_create_password_resets_table ................................................................................... 145ms DONE 2016_06_01_000001_create_oauth_auth_codes_table .................................................................................. 174ms DONE 2016_06_01_000002_create_oauth_access_tokens_table ............................................................................... 163ms DONE 2016_06_01_000003_create_oauth_refresh_tokens_table .............................................................................. 178ms DONE 2016_06_01_000004_create_oauth_clients_table ...................................................................................... 85ms DONE 2016_06_01_000005_create_oauth_personal_access_clients_table ...................................................................... 69ms DONE 2019_08_19_000000_create_failed_jobs_table ....................................................................................... 145ms DONE 2019_12_14_000000_create_cities_table ............................................................................................. 49ms DONE 2019_12_14_000001_create_health_conditions_table ................................................................................. 143ms DONE 2019_12_14_000001_create_personal_access_tokens_table ............................................................................ 102ms DONE 2019_12_14_000001_create_provinces_table ......................................................................................... 288ms DONE 2019_12_14_000001_create_users_table ............................................................................................. 321ms DONE 2019_12_14_000002_create_health_condition_types_table ............................................................................ 215ms DONE 2023_05_28_223748_create_colleges_table .......................................................................................... 186ms DONE 2023_05_28_223748_create_departments_table ....................................................................................... 507ms DONE 2023_05_28_223749_create_students_table .......................................................................................... 374ms DONE 2023_05_29_112952_create_employees_table ......................................................................................... 145ms DONE 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()