Add new version in repository

This commit is contained in:
Ludovic CANDELLIER
2021-07-25 23:19:27 +02:00
parent d174fe1c81
commit 0d421226fa
608 changed files with 12235 additions and 7513 deletions

View File

@@ -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)