Skip to content

Commit

Permalink
chore: missing column bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Jan 16, 2025
1 parent b97c5ab commit a44c38c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Laravel/workbench/app/Models/Book.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ class Book extends Model
use HasFactory;
use HasUlids;

protected $visible = ['name', 'author', 'isbn', 'publication_date', 'is_available', 'published'];
protected $fillable = ['name', 'publication_date', 'isbn', 'is_available', 'published'];
protected $visible = ['name', 'author', 'isbn', 'status', 'publication_date', 'is_available', 'published'];
protected $fillable = ['name', 'status', 'publication_date', 'isbn', 'is_available', 'published'];
protected $casts = [
'is_available' => 'boolean',
'status' => BookStatus::class,
Expand Down

0 comments on commit a44c38c

Please sign in to comment.