mysql - The Model tables in Django got deleted -


the database table created automatically django model definition,i kind of deleted using mysql command line.now when i'm running migration says table doesn't exist .i used makemigrations,syncdb ,nothing works.how make django create table columns again..without me have creating them manually.

ok resolved it, deleted migration files app->migrations folder ,deleted database "mysql" .now created new migration using "makemigrations" command, , applied db using "migrate" command.


Comments

Popular posts from this blog

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -