limpieza
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Noticia extends Model
|
||||
{
|
||||
protected $table = 'noticias';
|
||||
protected $primaryKey = 'id';
|
||||
public $timestamps = false;
|
||||
|
||||
protected $fillable = [
|
||||
'titulo',
|
||||
'contenido',
|
||||
'imagen',
|
||||
'fecha',
|
||||
'id_torneo',
|
||||
'categoria',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'id' => 'integer',
|
||||
'fecha' => 'datetime',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user