mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-12 09:58:21 +02:00
13 lines
376 B
Markdown
13 lines
376 B
Markdown
## Delete And Recreate Database
|
|
|
|
This script destroys and recreates a database. This is another troubleshooting tool for issues with the database.
|
|
|
|
1. unbinds the database
|
|
2. deletes it
|
|
3. recreates it
|
|
4. binds it back to the sandbox
|
|
5. runs migrations
|
|
|
|
Addition Info in this slack thread:
|
|
|
|
- [Slack thread](https://cisa-corp.slack.com/archives/C05BGB4L5NF/p1725495150772119)
|