Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Handle automatic DB upgrade #45

Open
3 tasks done
madmath03 opened this issue May 27, 2020 · 0 comments · May be fixed by #47
Open
3 tasks done

Handle automatic DB upgrade #45

madmath03 opened this issue May 27, 2020 · 0 comments · May be fixed by #47

Comments

@madmath03
Copy link

madmath03 commented May 27, 2020

It would be nice if the container could automatically detect and trigger DB upgrade.

In order to achieve that, those are the steps I see:

  • Retrieve the SQL init and upgrade files from the PowerDNS archive (always up to date)
  • Save in a file the version of the database that was initialized (need to be persisted on host or in volume)
  • Execute update script if any found for current version to target version
@madmath03 madmath03 linked a pull request May 27, 2020 that will close this issue
@psi-4ward psi-4ward reopened this Sep 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants