Skip to content

A free open source IT asset/license management system

Set one field to encrypted in the seeder

snipec3b3aa4de630
diff --git a/database/factories/CustomFieldFactory.php b/database/factories/CustomFieldFactory.php
index 53f23a205f..142adacdcf 100644
--- a/database/factories/CustomFieldFactory.php
+++ b/database/factories/CustomFieldFactory.php
@@ -87,6 +87,7 @@ class CustomFieldFactory extends Factory
return $this->state(function () {
return [
'name' => 'Test Encrypted',
+ 'field_encrypted' => '1',
'help_text' => 'This is a test encrypted field.',
];
});