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

Custom App with error Warning: 1265 Data truncated for column 'id' for the session table #500

Open
robinhosanee opened this issue Feb 27, 2024 · 0 comments

Comments

@robinhosanee
Copy link

robinhosanee commented Feb 27, 2024

Issue summary

Hello,

Built a Custom App and getting occasional error

(PDOException(code: 01000): SQLSTATE[01000]: Warning: 1265 Data truncated for column 'id' for the session table

image

composer.json
image

session table schema
image

It looks like the Laravel template is trying to update the session id column with a varchar value when it is of type int . so mySQL is throwing an error.

Not sure if anyone encountered the same issue and what would be a solution to this issue ?

Thank you

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

1 participant