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

[DPE-2569] Extensions not enabled when database is created #290

Merged
merged 2 commits into from Oct 17, 2023

Conversation

dragomirp
Copy link
Contributor

@dragomirp dragomirp commented Oct 15, 2023

Issue

New databases do not consider already enabled extensions.

Solution

Check extensions conf when creating a database and enable extensions.

Comment on lines +174 to +177
# Enable preset extensions
for plugin in plugins:
self.enable_disable_extension(plugin, True, database)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should consider for a way to get the plugins in PGB charms.

@dragomirp dragomirp merged commit 68b92c3 into main Oct 17, 2023
27 checks passed
@dragomirp dragomirp deleted the dpe-2569-wait-for-extensions branch October 17, 2023 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants