Skip to content

Commit

Permalink
remove default=0
Browse files Browse the repository at this point in the history
  • Loading branch information
SaranjeetKaur committed Nov 21, 2024
1 parent 7594113 commit 93f1a56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions imperial_coldfront_plugin/migrations/0002_unixuid.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)),
],
),
Expand Down
2 changes: 1 addition & 1 deletion imperial_coldfront_plugin/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ class UnixUID(models.Model):
on_delete=models.CASCADE,
related_name="user_id",
)
identifier = models.IntegerField(default=0)
identifier = models.IntegerField()

0 comments on commit 93f1a56

Please sign in to comment.