-
-
Save parzibyte/2f89de18891b632a78cb09927fc9e4c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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