This commit is contained in:
2023-02-25 10:24:32 +08:00
parent 0b5ac0a225
commit d44a591e84
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class BasicJob extends Model
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['job_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
protected array $casts = ['job_id' => 'string', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
protected string $primaryKey = "job_id";