Started work to re-work database; add new models for benchmarks and components

This commit is contained in:
2023-09-22 23:03:24 -06:00
parent e176398f41
commit 0dd7098681
18 changed files with 343 additions and 51 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace BitGoblin\Colossus\Models;
use Illuminate\Database\Eloquent\Model;
class Component extends Model {
protected $fillable = [
'name',
'type',
];
public function tests() {
return $this->hasMany(Test::class);
}
}