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

General error: 20 datatype mismatch #27

Closed
MwSpaceLLC opened this issue May 16, 2020 · 1 comment
Closed

General error: 20 datatype mismatch #27

MwSpaceLLC opened this issue May 16, 2020 · 1 comment
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@MwSpaceLLC
Copy link

Hi there, i have this problem with sqlite:

SQLSTATE[HY000]: General error: 20 datatype mismatch (SQL: insert into "users" ("name", "role", "email", "password", "id", "updated_at", "created_at") values (Fern, superuser, Fern@d
ash.com, $2y$10$LjnVxgcMpuQZWrFErSKDmOeJND8yMLnMJ2vFQ7QfqQRABz8T22NQK, cf0de48c-3472-4ee2-be4a-2828f5c9b882, 2020-05-16 02:45:28, 2020-05-16 02:45:28))

I think that sqlite not support this ??

@MwSpaceLLC
Copy link
Author

Must update all migration:

            // Primary key.
//            $table->id();
            $table->uuid('id')->primary();

@matthew-inamdar matthew-inamdar added bug Something isn't working invalid This doesn't seem right labels Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Development

No branches or pull requests

2 participants