ponder-lab / Imperative-DL-Study-Web-App

0 stars 0 forks source link

changing migration command #171

Closed ZhongweiL closed 2 years ago

ZhongweiL commented 2 years ago

changing migration command to python manage.py migrate --fake ponder, because the original command tried to recreate all the tables. Found this solution in https://stackoverflow.com/questions/25924858/django-1-7-migrate-gets-error-table-already-exists/25925368#25925368

khatchad commented 2 years ago

Didn't @tatianacv have to change something on heroku to get the migrations on the server? Does that need to change as well?

khatchad commented 2 years ago

I'll merge it in. If it doesn't work, try --fake-initial.