I am deploying a project on PythonAnywhere. I am using sqlite database.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'mydatabase.db',
}
}
When makemigrations starts, the file mydatabase.db is created (its size is 0 bytes) in root of the project, but I get an error - django.db.utils.OperationalError: no such table: ...
makemigrationsjust create migration files. You need runmigrateto apply migrations to your database. See docs for details.... no such table: ...what table? Please, specify.app_predictionappapplication in your project, and modelPredictionin it. When you run./manage.py makemigrationsor./manage.py migratethen you see this error. Right?