Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
alihardan committed Jun 25, 2024
1 parent c352edc commit c7aa75a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/Http/Resources/GameResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ public function toArray(Request $request): array
$types[] = 'subtitle';
if ($game['iranian'] ?? false == true)
$types[] = 'iranian';
if ($game['collection'] ?? false == true)
$types[] = 'collection';
}
$types = array_values(array_unique($types));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public function up(): void

$table->json('games');

$table->json('photos')->nullable();
$table->boolean('selling')->default(false);

$table->string('title_fa')->nullable();
Expand Down

0 comments on commit c7aa75a

Please sign in to comment.