Refactor application status update logic and add complex_status column

This commit is contained in:
Andras Bacsai
2024-02-06 15:42:31 +01:00
parent 3616fc8ca9
commit 78b194cb16
5 changed files with 40 additions and 12 deletions

View File

@@ -15,6 +15,9 @@ class Application extends BaseModel
{
use SoftDeletes;
protected $guarded = [];
// protected $casts = [
// 'complex_status' => 'json',
// ];
protected static function booted()
{
static::saving(function ($application) {