We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Our vendor databases use bigint as the primary key which is rather annoying.
bigint
Out of the box lucid (mysql driver) doesn't appear to support it.
After a few hours of trying to find a solution there is a setting that can be enabled to support this.
connections: { mysql: { client: 'mysql', connection: { host: Env.get('MYSQL_HOST'), port: Env.get('MYSQL_PORT'), user: Env.get('MYSQL_USER'), password: Env.get('MYSQL_PASSWORD', ''), database: Env.get('MYSQL_DB_NAME'), supportBigNumbers: true, // <---- here }, migrations: { naturalSort: true, }, healthCheck: false, debug: false, }, }
Can you please add this to the documentation regarding supportBigNumbers: true as it would save a lot of headaches.
supportBigNumbers: true
Thanks
The text was updated successfully, but these errors were encountered:
Feel free to create a PR for the same :)
Sorry, something went wrong.
No branches or pull requests
Our vendor databases use
bigint
as the primary key which is rather annoying.Out of the box lucid (mysql driver) doesn't appear to support it.
After a few hours of trying to find a solution there is a setting that can be enabled to support this.
Can you please add this to the documentation regarding
supportBigNumbers: true
as it would save a lot of headaches.Thanks
The text was updated successfully, but these errors were encountered: