Login working
This commit is contained in:
@@ -12,6 +12,11 @@ class Frame extends Model
|
||||
return $this->belongsTo(CUG::class);
|
||||
}
|
||||
|
||||
public function route()
|
||||
{
|
||||
return $this->hasOne(FrameMeta::class);
|
||||
}
|
||||
|
||||
protected static function boot() {
|
||||
parent::boot();
|
||||
|
||||
|
10
app/Models/FrameMeta.php
Normal file
10
app/Models/FrameMeta.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class FrameMeta extends Model
|
||||
{
|
||||
protected $table = 'framemeta';
|
||||
}
|
Reference in New Issue
Block a user