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
export default defineNuxtConfig({ nitro: { database: { default: { connector: 'sqlite', options: { name: 'db' } }, users: { connector: 'postgresql', url: 'postgresql://username:password@hostname:port/database_name' } } } })
This exemple shows a url params. I think it requires a options object with a url key.
It did worked for me once I changed to:
export default defineNuxtConfig({ nitro: { database: { default: { connector: 'sqlite', options: { name: 'db' } }, users: { connector: 'postgresql', options: { url: 'postgresql://username:password@hostname:port/database_name' } } } } })
I found the solution looking at this file: https://github.com/nitrojs/nitro/blob/v2/src/runtime/internal/database.ts#L3
The text was updated successfully, but these errors were encountered:
postgresql
No branches or pull requests
This exemple shows a url params. I think it requires a options object with a url key.
It did worked for me once I changed to:
I found the solution looking at this file: https://github.com/nitrojs/nitro/blob/v2/src/runtime/internal/database.ts#L3
The text was updated successfully, but these errors were encountered: