create cron for backing up db

This commit is contained in:
2025-09-24 14:42:46 +03:30
parent c43909574e
commit fadc8379d9
7 changed files with 69 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ class Mission extends Model
protected function area(): Attribute
{
return Attribute::make(
get: fn($value) => json_decode($value)
get: fn($value) => json_decode($value, true)
);
}