maelstrom-cms / toolkit

A CMS Toolkit built on Laravel and React
https://www.maelstrom-cms.com
61 stars 6 forks source link

[Question] Media Manager doesnt upload images and returns a SQL ERROR #8

Closed KarimFekry8 closed 4 years ago

KarimFekry8 commented 4 years ago

I've been having a problem using media manager as whenever I try to upload an image it throws a SQL error saying that the image doesn't have a default value Screenshot (14)

OwenMelbz commented 4 years ago

Hi,

This looks like your database schema isn't set up to take an empty image column.

I'd suggest checking the $fillable property on your admin interests model to check you've allowed the image column to be filled.

As this isn't a maelstrom bug - I'll close the ticket to keep things tidy, but will continue to respond if needed.