This commit is contained in:
Benjamin Takats
2023-01-15 21:07:02 +01:00
parent 02493751ce
commit acfb90d3c8
10 changed files with 509 additions and 272 deletions

View File

@@ -136,7 +136,7 @@ class BookCaseTable extends DataTableComponent
$this->validate([
'orangepill.amount' => 'required|numeric',
'orangepill.date' => 'required|date',
'photo' => 'image|max:4096', // 4MB Max
'photo' => 'image|max:8192', // 8MB Max
]);
$orangePill = OrangePill::create([
'user_id' => auth()->id(),

View File

@@ -0,0 +1,14 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class TwitterAccount extends Model
{
protected $guarded = [];
protected $casts = [
'data' => 'array',
];
}