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

Change default database name to postgres. #7164

Closed
wants to merge 1 commit into from
Closed

Conversation

yuchenshi
Copy link
Member

This DB name is always present in most Postgres setups.

This DB name is always present in most Postgres setups.
@yuchenshi yuchenshi requested a review from joehan May 10, 2024 22:40
@yuchenshi yuchenshi marked this pull request as draft May 10, 2024 22:43
@yuchenshi
Copy link
Member Author

Converting to draft pending internal discussion

@yuchenshi yuchenshi closed this May 10, 2024
@@ -113,7 +113,7 @@ export async function doSetup(setup: Setup, config: Config): Promise<void> {
cloudSqlDatabase = await promptOnce({
message: `What ID would you like to use for your new database in ${cloudSqlInstanceId}?`,
type: "input",
default: `dataconnect`,
default: `postgres`,
Copy link
Contributor

@fredzqm fredzqm May 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the goal to improve database in emulator?

This changes the prod Cloud SQL database name, which I think a separate name it more clear.

I agree that we should make the local emulator url as default as possible.

https://stackoverflow.com/questions/3582552/what-is-the-format-for-the-postgresql-connection-string-url

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's continue the internal discussion on b/339903547 please

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.

None yet

2 participants