29 lines
502 B
PHP
29 lines
502 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class AllowActionsSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
$allowactiondata = [
|
|
[
|
|
'action' => 'Registering'
|
|
]
|
|
];
|
|
|
|
foreach ($allowactiondata as $data) {
|
|
$allowaction = new \App\AllowAction();
|
|
|
|
$allowaction->action = $data['action'];
|
|
|
|
$allowaction->save();
|
|
}
|
|
}
|
|
}
|