mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix migrations failing one time after dashboard cleanup (#14002)
The seeder tries to run the DefaultWidgetSeeder, but it doesn't exist anymore, so it fails. Add a skeleton so the migrations run right away instead of the next update.
This commit is contained in:
18
database/seeders/DefaultWidgetSeeder.php
Normal file
18
database/seeders/DefaultWidgetSeeder.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DefaultWidgetSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
// dummy to prevent race condition blocking migrations
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user