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:
@@ -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'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user