Skip to content

Fixing up a database

Pablo Martínez Figueroa edited this page Apr 4, 2019 · 1 revision

Run the commands below to get your database shine like new again

DROP DATABASE datame;

CREATE DATABASE datame;

python mysite/manage.py makemigrations

python mysite/manage.py migrate

python mysite/manage.py createsuperuser

Keep in mind that your "datameuser" is kept and is not required to fix it.

Clone this wiki locally