Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pending migrations #237

Open
simon-spier0 opened this issue Aug 16, 2023 · 0 comments
Open

Pending migrations #237

simon-spier0 opened this issue Aug 16, 2023 · 0 comments

Comments

@simon-spier0
Copy link

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:

  1. Donwload the zip
    test_cron.zip

  2. Setup database in test.py

  3. Install environment with pipenv install

  4. Switch to the environment with pipenv shell

  5. Create migrations with manage.py makemigrations

  6. 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant