-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uploading failed #419
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[previous exception] [object] (PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'media.model_id' in 'where clause' at ...
Actions taken:
I have edited the permission.php file to change it from model_id to mediable_id (which is what I have in my db).
What I want to do:
I have a product resource and through this resource I want to allow user to upload images and save the images into S3 bucket. Thereafter create a Media model for each images and pass the url generated, linking Media model to the product model.
Any help will be appreciated.
The text was updated successfully, but these errors were encountered: