27 lines
526 B
PHP
27 lines
526 B
PHP
<?php
|
|
|
|
return [
|
|
/**
|
|
* Control if the seeder should create a user per role while seeding the data.
|
|
*/
|
|
'create_users' => false,
|
|
|
|
/**
|
|
* Control if all the laratrust tables should be truncated before running the seeder.
|
|
*/
|
|
'truncate_tables' => true,
|
|
|
|
'roles_structure' => [
|
|
'admin' => [],
|
|
'teacher' => [],
|
|
'student' => [],
|
|
],
|
|
|
|
'permissions_map' => [
|
|
'c' => 'create',
|
|
'r' => 'read',
|
|
'u' => 'update',
|
|
'd' => 'delete',
|
|
],
|
|
];
|