added tracks and perfomers tables, fixed queries
This commit is contained in:
@@ -9,11 +9,11 @@ class Track extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
const DELETED_AT = 'DeleteDate';
|
||||
const UPDATED_AT = 'UpdatedDate';
|
||||
const CREATED_AT = 'DateOfCreation';
|
||||
const DELETED_AT = 'deleted_at';
|
||||
const UPDATED_AT = 'updated_at';
|
||||
const CREATED_AT = 'created_at';
|
||||
|
||||
protected $primaryKey = 'Id';
|
||||
protected $table = 'Track';
|
||||
protected $fillable = ['Name', 'Length'];
|
||||
protected $table = 'tracks';
|
||||
protected $fillable = [ 'name', 'length' ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user