From 93f1a5696cb0d5dac0a0d55daa9ee57aa6125207 Mon Sep 17 00:00:00 2001 From: Saranjeet Kaur Date: Thu, 21 Nov 2024 14:43:54 +0000 Subject: [PATCH] remove default=0 --- imperial_coldfront_plugin/migrations/0002_unixuid.py | 4 ++-- imperial_coldfront_plugin/models.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/imperial_coldfront_plugin/migrations/0002_unixuid.py b/imperial_coldfront_plugin/migrations/0002_unixuid.py index 2b005fe..faac991 100644 --- a/imperial_coldfront_plugin/migrations/0002_unixuid.py +++ b/imperial_coldfront_plugin/migrations/0002_unixuid.py @@ -1,4 +1,4 @@ -# Generated by Django 4.2.11 on 2024-11-21 14:24 +# Generated by Django 4.2.11 on 2024-11-21 14:41 from django.conf import settings from django.db import migrations, models @@ -17,7 +17,7 @@ class Migration(migrations.Migration): name='UnixUID', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('identifier', models.IntegerField(default=0)), + ('identifier', models.IntegerField()), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='user_id', to=settings.AUTH_USER_MODEL)), ], ), diff --git a/imperial_coldfront_plugin/models.py b/imperial_coldfront_plugin/models.py index bb73d49..9e05275 100644 --- a/imperial_coldfront_plugin/models.py +++ b/imperial_coldfront_plugin/models.py @@ -49,4 +49,4 @@ class UnixUID(models.Model): on_delete=models.CASCADE, related_name="user_id", ) - identifier = models.IntegerField(default=0) + identifier = models.IntegerField()