You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.
So I set it up everything perfectly but when I create a 'store' function it says this
``SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value (SQL: insert into users (`name`, `email`, `password`, `uuid`, `updated_at`, `created_at`) values\
Do i also need to specificy the uuid inside the add function? Doesn't it get generated automatically like 'id' use to?
The text was updated successfully, but these errors were encountered:
rohanshukla94
changed the title
Can't create a model with UUID in it
Can't store values in a model with UUID in it
Aug 29, 2018
@brendt this wasn't an error from the package side, it was rather a mistake in the code i was using for Create function, other than that this error wouldn't come.
So I set it up everything perfectly but when I create a 'store' function it says this
``SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value (SQL: insert into
users
(`name`, `email`, `password`, `uuid`, `updated_at`, `created_at`) values\Do i also need to specificy the uuid inside the add function? Doesn't it get generated automatically like 'id' use to?
The text was updated successfully, but these errors were encountered: