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

Connect-session-knex does not work with older versions of mysql #69

Closed
zenaculo opened this issue Jul 2, 2020 · 1 comment
Closed

Comments

@zenaculo
Copy link

zenaculo commented Jul 2, 2020

I'm trying to perform a deployment of an app on Heroku that uses clearDB in version 5.5.62 that doesn't support json type fields.
I saw that recently there was a merge regarding issue #50 but I still have the error. I am using version 1.7.2.
Alternatively, how can I implement what was described in #50?

#UnhandledPromiseRejectionWarning: Error: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'json not null, expired datetime not null)' at line 1

Tks

@zenaculo
Copy link
Author

zenaculo commented Jul 2, 2020

By the way, I installed the last commit that performed the correction and it worked but I would like to understand what was reported here #50

"I decided to make my own table and use text instead of json while setting createTable to false which seems to work"
Thanks for your patience and sorry for the inconvenience of this issue

@gx0r gx0r closed this as not planned Won't fix, can't repro, duplicate, stale Jun 4, 2024
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