django - How to delete the SQLIte3 database tables and accessing database shell in windows cmd? -
i'm working on django rest framework tutorial , i've covered of tutorial. @ end i've encountered 'operational error - no such column: snippets_snippet.owner_id'
. tutorial tells delete database using following commnands:
rm -f tmp.db db.sqlite3 rm -r snippets/migrations python manage.py makemigrations snippets python manage.py migrate
&
python manage.py dbshell
but not working. i'm working on windows-7 , doesn't interpret first command. i've tried several other ones - 'python manage.py sqlflush'
.
i'm working built-in sqlite comes django-1.8, how can access sqlite dbshell? necessary install sqlite3 database manually rather built-in 1 access database utilities?
please me fix issue....
download sqlite3 windows , execute sqlite3.exe (double click on "icon" enough). can open database:
sqlite> .open example.db
Comments
Post a Comment