Set one field to encrypted in the seeder

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-10-26 06:25:51 +01:00
parent 3717d60170
commit c3b3aa4de6

View file

@ -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.',
]; ];
}); });