jeudi 9 février 2017

How do I delete DB (sqlite3) in Django 1.9 to start from scratch?

Vote count: 0

I made a spelling error in my model and now one of my columns is misspelled. I'd like to drop all tables in the database, fix the error in the model.py, and recreate the database with the correct spelling in model.

I've tried to use the suggestions in the this article but the table still exists after I follow the commands outlined there.

Anyone have a quick way to do this?

asked 45 secs ago

Let's block ads! (Why?)



How do I delete DB (sqlite3) in Django 1.9 to start from scratch?

Aucun commentaire:

Enregistrer un commentaire