mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Set one field to encrypted in the seeder
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
3717d60170
commit
c3b3aa4de6
|
@ -87,6 +87,7 @@ class CustomFieldFactory extends Factory
|
||||||
return $this->state(function () {
|
return $this->state(function () {
|
||||||
return [
|
return [
|
||||||
'name' => 'Test Encrypted',
|
'name' => 'Test Encrypted',
|
||||||
|
'field_encrypted' => '1',
|
||||||
'help_text' => 'This is a test encrypted field.',
|
'help_text' => 'This is a test encrypted field.',
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue