mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-05 07:52:34 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
@ -3,6 +3,8 @@
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\StorageProvider;
|
||||
use App\StorageProviders\FTP;
|
||||
use App\StorageProviders\S3;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class StorageProvidersSeeder extends Seeder
|
||||
@ -11,7 +13,7 @@ public function run(): void
|
||||
{
|
||||
StorageProvider::factory()->create([
|
||||
'profile' => 'FTP',
|
||||
'provider' => \App\Enums\StorageProvider::FTP,
|
||||
'provider' => FTP::id(),
|
||||
'credentials' => [
|
||||
'host' => 'ftp.example.com',
|
||||
'username' => 'ftp_user',
|
||||
@ -21,7 +23,7 @@ public function run(): void
|
||||
|
||||
StorageProvider::factory()->create([
|
||||
'profile' => 'S3',
|
||||
'provider' => \App\Enums\StorageProvider::S3,
|
||||
'provider' => S3::id(),
|
||||
'credentials' => [
|
||||
'secret' => 's3_secret',
|
||||
],
|
||||
|
Reference in New Issue
Block a user