FEATURE: add string id into seeder of action log types.
This commit is contained in:
@@ -14,9 +14,7 @@ class SeedActionLogTypes extends Seeder
|
||||
$types = [
|
||||
'login',
|
||||
'logout',
|
||||
'selfUserEdit',
|
||||
'userEdit',
|
||||
'changePassword',
|
||||
'newCustomField',
|
||||
'editCustomField',
|
||||
'deleteCustomField',
|
||||
@@ -26,8 +24,9 @@ class SeedActionLogTypes extends Seeder
|
||||
foreach ($types as $type) {
|
||||
\DB::table('action_log_types')
|
||||
->insert([
|
||||
'name' => 'admin/actionLog.name' . ucfirst($type),
|
||||
'value' => 'admin/actionLog.' . $type
|
||||
'string_id' => $type,
|
||||
'name' => 'admin/actionLog.name' . ucfirst($type),
|
||||
'value' => 'admin/actionLog.' . $type
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user