본문 바로가기
Error

python: 'table already exists'

by reo.l 2021. 6. 2.

migration에 있는 테이블이 초기화되지 않고 남아있는 상태에서 migrate를 진행할때 발생하는 문제이다.

 migration을 초기화한 후에 다시 migrate를 진행하면 된다.

 


python manage.py —fake <app.name> 

 

 

 

 

댓글