FEATURE: add string id into seeder of action log types.

This commit is contained in:
Michal Kváček
2016-01-28 22:44:03 +01:00
parent 26873a2db4
commit 859d3ce753
+3 -4
View File
@@ -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
]);
}
}