mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 06:13:45 +02:00
update all model factories
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Support\Str;
|
||||
use Pterodactyl\Models\Location;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
@@ -21,6 +22,9 @@ class LocationFactory extends Factory
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [];
|
||||
return [
|
||||
'short' => Str::random(8),
|
||||
'long' => Str::random(32),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user