Fix updated_at

This commit is contained in:
Thomas Zilio 2018-11-16 13:43:27 +01:00
parent a77b719a7a
commit 1b6f186fc8
12 changed files with 12 additions and 11 deletions

View File

@ -6,6 +6,7 @@ use Illuminate\Database\Eloquent\Model as Original;
abstract class Model extends Original
{
// Retrocompatibilità MySQL
const UPDATED_AT = null;
/**

View File

@ -2,7 +2,7 @@
namespace Models;
use Illuminate\Database\Eloquent\Model;
use Common\Model;
use App;
class Clause extends Model

View File

@ -2,7 +2,7 @@
namespace Models;
use Illuminate\Database\Eloquent\Model;
use Common\Model;
class Group extends Model
{

View File

@ -2,7 +2,7 @@
namespace Models;
use Illuminate\Database\Eloquent\Model;
use Common\Model;
class Log extends Model
{

View File

@ -3,7 +3,7 @@
namespace Models;
use Traits\StoreTrait;
use Illuminate\Database\Eloquent\Model;
use Common\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class MailAccount extends Model

View File

@ -3,7 +3,7 @@
namespace Models;
use Traits\StoreTrait;
use Illuminate\Database\Eloquent\Model;
use Common\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class MailTemplate extends Model

View File

@ -6,7 +6,7 @@ use Auth;
use Traits\RecordTrait;
use Traits\UploadTrait;
use Traits\StoreTrait;
use Illuminate\Database\Eloquent\Model;
use Common\Model;
use Illuminate\Database\Eloquent\Builder;
class Module extends Model

View File

@ -6,7 +6,7 @@ use App;
use Traits\RecordTrait;
use Traits\UploadTrait;
use Traits\StoreTrait;
use Illuminate\Database\Eloquent\Model;
use Common\Model;
use Illuminate\Database\Eloquent\Builder;
class Plugin extends Model

View File

@ -4,7 +4,7 @@ namespace Models;
use Traits\PathTrait;
use Traits\StoreTrait;
use Illuminate\Database\Eloquent\Model;
use Common\Model;
class PrintTemplate extends Model
{

View File

@ -3,7 +3,7 @@
namespace Models;
use Traits\StoreTrait;
use Illuminate\Database\Eloquent\Model;
use Common\Model;
class Setting extends Model
{

View File

@ -2,7 +2,7 @@
namespace Models;
use Illuminate\Database\Eloquent\Model;
use Common\Model;
class User extends Model
{

View File

@ -2,7 +2,7 @@
namespace Models;
use Illuminate\Database\Eloquent\Model;
use Common\Model;
use App;
class View extends Model