vito/database/factories/ServerLogFactory.php
Saeed Vaziry 428140b931
refactoring (#116)
- refactoring architecture
- fix incomplete ssh logs
- code editor for scripts in the app
- remove Jobs and SSHCommands
2024-03-14 20:03:43 +01:00

21 lines
387 B
PHP

<?php
namespace Database\Factories;
use App\Models\ServerLog;
use Illuminate\Database\Eloquent\Factories\Factory;
class ServerLogFactory extends Factory
{
protected $model = ServerLog::class;
public function definition(): array
{
return [
'type' => 'test-log',
'name' => 'test.log',
'disk' => 'server-logs',
];
}
}