Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created Mar 20, 2019
Embed
What would you like to do?
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Cancion extends Model
{
# Por defecto Laravel tomaría "cancion" así que mejor indicamos el nombre
protected $table = "canciones";
# No queremos que ponga updated_at ni created_at
public $timestamps = false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment