feat: implement integration management with CRUD operations and routes for tenant integration
This commit is contained in:
26
database/seeders/TelepagosIntegrationSeeder.php
Normal file
26
database/seeders/TelepagosIntegrationSeeder.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Domains\Integration\Models\Integration;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class TelepagosIntegrationSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
Integration::updateOrCreate(
|
||||
['integration_code' => 'telepagos'],
|
||||
[
|
||||
'name' => 'Telepagos',
|
||||
'integration_data_schema' => [
|
||||
'username' => 'required|string',
|
||||
'password' => 'required|string',
|
||||
]
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user