Skip to content
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

how to store data in a json column? #106

Closed
Codemainmx opened this issue Feb 2, 2022 · 1 comment
Closed

how to store data in a json column? #106

Codemainmx opened this issue Feb 2, 2022 · 1 comment

Comments

@Codemainmx
Copy link

hello! I have a column in my database called values of type json
in the model I have the casts, but it does not save my data
image

in my fields I have this ...
when I save data all the fields are saved except values
do I need something else?
Thanks in advance!
image

@tanthammar
Copy link
Owner

You have not added values to the models $fillable array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants