added tracks and perfomers tables, fixed queries

This commit is contained in:
2026-06-17 12:04:26 +03:00
parent 23b5b4a9b2
commit 4ea8ce6569
7 changed files with 190 additions and 12 deletions
+5 -5
View File
@@ -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' ];
}