Pending migrations
simon-spier0 opened this issue · 0 comments
simon-spier0 commented
Hi,
when I create my project migrations in localhost and then I develop the application to production and run the migrations, it raises error about missing "0004_alter_cronjoblock_id_alter_cronjoblog_id.py".
To simulate the bug:
-
Donwload the zip
test_cron.zip -
Setup database in
test.py
-
Install environment with
pipenv install
-
Switch to the environment with
pipenv shell
-
Create migrations with
manage.py makemigrations
-
Go to the django_cron in environment folder like
C:\Users\<your_username>\.virtualenvs\test_cron-f760Ccpm\Lib\site-packages\django_cron\migrations
and you can see the new created missing migration file "0004_alter_cronjoblock_id_alter_cronjoblog_id.py"
Can you please fix the migrations in the next version 0.6.1?