Report this

What is the reason for this report?

How to fully reset a dev database on App Platform

Posted on July 31, 2025

I am playing around with a Django prototype and want to do a fresh deployment with completely new migrations etc. When I am destroying the dev database and then redeploy it, it looks like the old state is restored because migrations are already applied. How to create a clean new dev database?

Edit: I tried to create a new dev database with a new name, but then it seems to raise a lot of errors when rebuilding the containers



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Heya, @garantieheld

You can check if the old database clusters are still available. If they’re present, you can remove them (Note to take a backup of your data as a precaution). All existing migration files can be deleted and on the next run, the new database should be created.

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.