Add new version in repository
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Application;
|
||||
namespace App\Models\Core\App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class ApplicationPage extends Model
|
||||
{
|
||||
protected $connection = 'system';
|
||||
protected $table = 'application_pages';
|
||||
public $timestamps = false;
|
||||
|
||||
public function application()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Core\App');
|
||||
return $this->belongsTo(\App\Models\Core\App\Application::class);
|
||||
}
|
||||
|
||||
public function scopeActive($query)
|
||||
|
||||
Reference in New Issue
Block a user