This commit is contained in:
saeid
2019-05-08 17:46:30 +04:30
parent f6d7277ddc
commit 940a1b01ab
15 changed files with 823 additions and 378 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ use Illuminate\Database\Eloquent\Model;
class Uploadable extends Model
{
protected $fillable = ['uploadable_id', 'uploadable_type', 'gallery_id'];
protected $fillable = ['uploadable_id', 'uploadable_type', 'gallery_id', 'image_role'];
public $timestamps = false;
public function gallery()