Closed michalwitwicki closed 2 months ago
When running ./vendor/bin/sail artisan migrate migration fails on:
./vendor/bin/sail artisan migrate
2024_04_09_184714_add_download_name_to_round_maps .................................... 2ms FAIL Illuminate\Database\QueryException SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'download_name' (Connection: mysql, SQL: alter table `round_maps` add `download_name` varchar(255) not null default 'map.pk3', add `external` tinyint(1) not null default '0') at vendor/laravel/framework/src/Illuminate/Database/Connection.php:822 818▕ $this->getName(), $query, $this->prepareBindings($bindings), $e 819▕ ); 820▕ } 821▕ ➜ 822▕ throw new QueryException( 823▕ $this->getName(), $query, $this->prepareBindings($bindings), $e 824▕ ); 825▕ } 826▕ } +9 vendor frames 10 database/migrations/2024_04_09_184714_add_download_name_to_round_maps.php:14 Illuminate\Support\Facades\Facade::__callStatic() +24 vendor frames 35 artisan:35 Illuminate\Foundation\Console\Kernel::handle()
Expected result: Whole migration process should finish without fails.
When running
./vendor/bin/sail artisan migrate
migration fails on:Expected result: Whole migration process should finish without fails.