From c21b71960395f33a711ad2a1400baeefd95f8abd Mon Sep 17 00:00:00 2001 From: timontulix Date: Thu, 27 Oct 2022 21:07:46 +0300 Subject: [PATCH] Update ID field to use BigAutoField - This prevents the requirement to run a makemigration due to - failing pre-commit django-migration checks --- .../0004_alter_ids_to_bigautofield.py | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 django_cron/migrations/0004_alter_ids_to_bigautofield.py diff --git a/django_cron/migrations/0004_alter_ids_to_bigautofield.py b/django_cron/migrations/0004_alter_ids_to_bigautofield.py new file mode 100644 index 0000000..d070c93 --- /dev/null +++ b/django_cron/migrations/0004_alter_ids_to_bigautofield.py @@ -0,0 +1,33 @@ +# Generated by Django 4.0.8 on 2022-10-27 18:00 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('django_cron', '0003_cronjoblock'), + ] + + operations = [ + migrations.AlterField( + model_name='cronjoblock', + name='id', + field=models.BigAutoField( + auto_created=True, + primary_key=True, + serialize=False, + verbose_name='ID' + ), + ), + migrations.AlterField( + model_name='cronjoblog', + name='id', + field=models.BigAutoField( + auto_created=True, + primary_key=True, + serialize=False, + verbose_name='ID' + ), + ), + ]