vintasoftware / django-react-boilerplate

Django 5, React, Bootstrap 5 with Python 3 and Webpack project boilerplate
MIT License
1.97k stars 479 forks source link

db.sqlite issue: makemigrations failed #586

Closed SeekPoint closed 10 months ago

SeekPoint commented 1 year ago

To Reproduce

.env: DJANGO_SETTINGS_MODULE=DRBio.settings.local CELERY_BROKER_URL=amqp://broker:5672// DATABASE_URL=sqlite:///backend/db.sqlite3

Steps to reproduce the behavior: (DRBio-venv) PS C:\DRBio\backend> python manage.py makemigrations C:\DRBio\DRBio-venv\lib\site-packages\django\core\management\commands\makemigrations.py:105: RuntimeWarning: Got an error checking a consistent migration history performed for database connection 'default': unable to open database file warnings.warn( Migrations for 'users': users\migrations\0001_initial.py

mathgenius1991712 commented 1 year ago

Yes, I got the same issue Managed to solve it?

hugobessa commented 1 year ago

Folks, I wasn't able to reproduce your issue in the current version. I don't know if this got fixed after a recent change. If you're still struggling with this let me know.