Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

Commit b1eee36

Browse files
committed
Rename model
1 parent 12a1409 commit b1eee36

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use Illuminate\Database\Eloquent\Model;
44

55
/**
6-
* Translation model
6+
* Queue jobs
77
*
88
* @property integer $id
99
* @property integer $status
@@ -13,9 +13,14 @@
1313
* @property \Carbon\Carbon $created_at
1414
* @property \Carbon\Carbon $updated_at
1515
*/
16-
class Queue extends Model{
16+
class Job extends Model{
17+
18+
const STATUS_OPEN = 0;
19+
const STATUS_WAITING = 1;
20+
const STATUS_STARTED = 2;
21+
const STATUS_FINISHED = 3;
1722

1823
protected $table = 'laq_async_queue';
1924
protected $guarded = array('id', 'created_at', 'updated_at');
2025

21-
}
26+
}

0 commit comments

Comments
 (0)