79786734

Date: 2025-10-09 18:21:02
Score: 0.5
Natty:
Report link

Initially I got this error:

django.db.utils.DatabaseError

which I correct by: deleting all migrations files in the migrations folder of the specific app.

I deleted all except the : _init_.py

then I run makemigrations and migrate - smoothly ! thus creating a fresh / new migrations file:

0001_initial.py

then I got the error mentioned above:

My solution, by surprise was to comment out all the parts giving error in the newly created file (0001_initial.py):

if say: info_available wad giving me an error:

as in

Exception Type: ProgrammingError

Exception Value: column myApp_verb.date does not exist

what I did was to comment that out...

#("info_available", models.DateField(default=datetime.date.today)),

then:

then I run makemigrations and migrate - AND ALL OK

Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: stelios_ioannides