mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
init
This commit is contained in:
20
database/factories/NotificationChannelFactory.php
Normal file
20
database/factories/NotificationChannelFactory.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
class NotificationChannelFactory extends Factory
|
||||
{
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'label' => $this->faker->text(10),
|
||||
'provider' => 'email',
|
||||
'data' => [
|
||||
'email' => $this->faker->email,
|
||||
],
|
||||
'connected' => 1,
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user