Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to undo makemigrations django

# The migration you want to undo is 0011_last_migration
# The migration right before it is 0010_previous_migration 
python manage.py migrate my_app 0010_previous_migration 

# Then you could delete the migration that you don't need (0011_last_migration) in the migration folder 

# list all migration names like this
python manage.py showmigrations my_app
Comment

PREVIOUS NEXT
Code Example
Shell :: find git remote url 
Shell :: install gnome-shell-extensions 
Shell :: turn of raspberry 
Shell :: disable pre commit hook 
Shell :: start chromium from command line 
Shell :: open local files wsl 
Shell :: linux command after create folder cd it 
Shell :: enable snap on manjaro 
Shell :: laravel install lysystem-aws-s3 
Shell :: ubuntu keyboard repeat 
Shell :: git pull master into branch 
Shell :: install to current directory pip 
Shell :: how to halt batch script execution for 5 seconds 
Shell :: kill all process ubuntu 
Shell :: git alias 
Shell :: please rebuild precompiled header 
Shell :: refs/heads/master:refs/heads/master [rejected] (non-fast-forward) 
Shell :: npm init y 
Shell :: how to isnatll snap on ubuntu linux 
Shell :: how to get out of git bash editor 
Shell :: create new branch with commit id 
Shell :: create folder shortcut on desktop ubuntu 
Shell :: add submodule 
Shell :: linux append group 
Shell :: git lines per user 
Shell :: git fix Large files detected. 
Shell :: Server: ERROR: Got permission denied while trying to connect to the Docker daemon socket 
Shell :: how to kill vscode linux 
Shell :: bash use cat in sed command 
Shell :: git push heroku master 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =