-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate
CoverageSummaryDiff
model to Eloquent
- Loading branch information
1 parent
1e0e62b
commit fc705da
Showing
4 changed files
with
42 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
namespace App\Models; | ||
|
||
use Illuminate\Database\Eloquent\Builder; | ||
use Illuminate\Database\Eloquent\Model; | ||
|
||
/** | ||
* @property int $buildid | ||
* @property int $loctested | ||
* @property int $locuntested | ||
* | ||
* @mixin Builder<CoverageSummaryDiff> | ||
*/ | ||
class CoverageSummaryDiff extends Model | ||
{ | ||
protected $table = 'coveragesummarydiff'; | ||
|
||
public $timestamps = false; | ||
|
||
protected $primaryKey = 'buildid'; | ||
|
||
protected $fillable = [ | ||
'buildid', | ||
'loctested', | ||
'locuntested', | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters