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

Add support for Cockroach Serverless Cluster identifier #11

Merged
merged 6 commits into from
Sep 26, 2022

Conversation

tryvin
Copy link
Contributor

@tryvin tryvin commented Sep 26, 2022

Previously we could add the cluster identifier as part of the database name. Laravel would work out of the box, but as of today (2022-09-22), it looks like they (Cockroach Labs) changed something on their side and made the artisan migrate command fails, as it was querying the migrations table in the database with the cluster identifier in its name.

So, I changed the Database Connector to add the missing options parameter to the DSN when the cluster parameter is present in the config.

@peterfox peterfox merged commit ba05b63 into ylsideas:main Sep 26, 2022
@tryvin tryvin deleted the cluster_option branch September 26, 2022 22:57
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

Successfully merging this pull request may close these issues.

2 participants