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

dont drop role if already exists, make sure database name exists, conditional temp_file_limit based on superuser status #1450

Merged
merged 3 commits into from
Jan 18, 2025

Conversation

jaylmiller
Copy link
Collaborator

No description provided.

@@ -240,37 +240,38 @@ export const createDatabase = async ({
const connection = (parse as unknown as typeof parse.parse)(
preBuild.databaseConfig.poolConfig.connectionString!,
);
if (!connection.database) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we reference connection.database further down in the code so it doesn't make sense to ignore it not existing.

@jaylmiller jaylmiller changed the title dont drop role if already exists, make sure database name exists dont drop role if already exists, make sure database name exists, conditional temp_file_limit based on superuser status Jan 18, 2025
@jaylmiller jaylmiller merged commit 8e32ec9 into v0.9 Jan 18, 2025
7 of 8 checks passed
@jaylmiller jaylmiller deleted the jay/v09-role-fix branch January 18, 2025 19:51
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