Skip to content

Postgres/MyXQL adapters: Do not fail storage_up if the user has access to an already-created database#297

Merged
josevalim merged 1 commit intoelixir-ecto:masterfrom
rinpatch:fix/storage_up_no_create_database_permission
Jan 11, 2021
Merged

Postgres/MyXQL adapters: Do not fail storage_up if the user has access to an already-created database#297
josevalim merged 1 commit intoelixir-ecto:masterfrom
rinpatch:fix/storage_up_no_create_database_permission

Conversation

@rinpatch
Copy link
Copy Markdown

Closes #296

I was not sure if raw SQL in the tests needs to be put into helper functions, decided to not do it since no other tests need this functionality.

@rinpatch rinpatch force-pushed the fix/storage_up_no_create_database_permission branch 2 times, most recently from 6b71879 to 9af562e Compare January 11, 2021 14:47
@josevalim
Copy link
Copy Markdown
Member

Thanks! Note CI is unhappy for MySQL v5.x (but note it was failing prior to this commit for MySQL v8.0 - so don't worry about this particular version).

@rinpatch rinpatch force-pushed the fix/storage_up_no_create_database_permission branch from 9af562e to d3e7182 Compare January 11, 2021 15:25
@rinpatch
Copy link
Copy Markdown
Author

Fixed it

@josevalim josevalim merged commit 051baf6 into elixir-ecto:master Jan 11, 2021
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.

Consider not failing in storage_up if the user does not have a permission to create databases when the database is already created

2 participants