You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing and using the package in laravel 8, I can't rollback my migrations. I even deleted the whole database and try artisan migrate and is throwing me this error in the terminal.
`PHP Fatal error: Cannot declare class CreateSettingsTable, because the name is already in use in /project directory/database/migrations/2017_08_24_000000_create_settings_table.php on line 6
Symfony\Component\ErrorHandler\Error\FatalError
Cannot declare class CreateSettingsTable, because the name is already in use
at database/migrations/2017_08_24_000000_create_settings_table.php:6
2▕
3▕ use Illuminate\Database\Migrations\Migration;
4▕ use Illuminate\Database\Schema\Blueprint;
5▕
➜ 6▕ class CreateSettingsTable extends Migration
7▕ {
8▕ /**
9▕ * Set up the options.
10▕ */
Whoops\Exception\ErrorException
Cannot declare class CreateSettingsTable, because the name is already in use
at database/migrations/2017_08_24_000000_create_settings_table.php:6
2▕
3▕ use Illuminate\Database\Migrations\Migration;
4▕ use Illuminate\Database\Schema\Blueprint;
5▕
➜ 6▕ class CreateSettingsTable extends Migration
7▕ {
8▕ /**
9▕ * Set up the options.
10▕ */
+1 vendor frames
2 [internal]:0
Whoops\Run::handleShutdown()
`
The text was updated successfully, but these errors were encountered:
MusheAbdulHakim
changed the title
Can't run migrate:fresh or migrate:rollback
Cannot declare class CreateSettingsTable, because the name is already in use
Jul 20, 2021
After installing and using the package in laravel 8, I can't rollback my migrations. I even deleted the whole database and try artisan migrate and is throwing me this error in the terminal.
`PHP Fatal error: Cannot declare class CreateSettingsTable, because the name is already in use in /project directory/database/migrations/2017_08_24_000000_create_settings_table.php on line 6
Symfony\Component\ErrorHandler\Error\FatalError
Cannot declare class CreateSettingsTable, because the name is already in use
at database/migrations/2017_08_24_000000_create_settings_table.php:6
2▕
3▕ use Illuminate\Database\Migrations\Migration;
4▕ use Illuminate\Database\Schema\Blueprint;
5▕
➜ 6▕ class CreateSettingsTable extends Migration
7▕ {
8▕ /**
9▕ * Set up the options.
10▕ */
Whoops\Exception\ErrorException
Cannot declare class CreateSettingsTable, because the name is already in use
at database/migrations/2017_08_24_000000_create_settings_table.php:6
2▕
3▕ use Illuminate\Database\Migrations\Migration;
4▕ use Illuminate\Database\Schema\Blueprint;
5▕
➜ 6▕ class CreateSettingsTable extends Migration
7▕ {
8▕ /**
9▕ * Set up the options.
10▕ */
2 [internal]:0
Whoops\Run::handleShutdown()
`
The text was updated successfully, but these errors were encountered: