Add custom fields to JenisLegalitasJaminan

Added `custom_field` and `custom_field_type` columns to the `jenis_legalitas_jaminan` table. Updated model, migration, and request files to handle these new fields, ensuring they are optional and have a maximum length of 255 characters.
This commit is contained in:
Daeng Deni Mardaeni
2024-11-04 15:59:59 +07:00
parent 2908a21454
commit ec6cb8e09f
4 changed files with 116 additions and 52 deletions

View File

@@ -7,5 +7,5 @@
class JenisLegalitasJaminan extends Base
{
protected $table = 'jenis_legalitas_jaminan';
protected $fillable = ['code', 'name','slug'];
protected $fillable = ['code', 'name','slug','custom_field','custom_field_type'];
}