[SE-3646] Add management command to drop and recreate failed instance DBs.
Created by: Kelketek
This pull request makes it possible to drop and recreate the database of an instance that failed provisioning.
JIRA tickets: https://tasks.opencraft.com/browse/SE-3646
Merge deadline: "None" if there's no rush, "ASAP" if it's critical, or provide a specific date if there is one.
Testing instructions:
- Create a new instance and interrupt the provisioning process after the database is created but before provisioning is complete.
- Run the command as described in the new documentation.
- Check the instance logs to verify that the information about the admin and their reasoning is present.
- Provision a new app server and verify that it is able to complete using the recreated database.
- After provisioning completes successfully, attempt to run the command on the instance again. It should fail.
Reviewers