#32864: When running manage.py makemigrations command, it gives an unexpected 
issue
in check_consistent_history.
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  Samarth_Saxena                     |
                   Type:  Bug        |         Status:  new
              Component:  Core       |        Version:  3.2
  (Management commands)              |
               Severity:  Release    |       Keywords:
  blocker                            |
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  1          |
-------------------------------------+-------------------------------------
 When I first create a project (even if you delete all the migration and
 database files), and you run python manage.py makemigrations, it gives you
 the following error:
 C:\Users\samar\AppData\Local\Programs\Python\Python39\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(...)
 This isn't its usual behavior as I don't have a database file and I'm
 working with SQLite3 and have some models in some of my apps and no
 migrations, so it should ideally create the database file and the
 migration files for me to be able to migrate into the database with
 manage.py migrate. However, on top throwing this warning, it doesn't
 create the migration files or the database file. If it helps, my code is
 on GitHub at http://github.com/samarth466/∴ess.git.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32864>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/057.a22b75b861f10bd8029422e8efac35d0%40djangoproject.com.

Reply via email to