From 519dfddd2f911e7f40eadbb70ac26c56fceea61e Mon Sep 17 00:00:00 2001 From: SalmanAsh Date: Fri, 12 Jul 2024 15:37:12 +0000 Subject: [PATCH] Migrate models --- api/migrations/0001_initial.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/migrations/0001_initial.py b/api/migrations/0001_initial.py index 4c2007c..b2d21ab 100644 --- a/api/migrations/0001_initial.py +++ b/api/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 3.2.25 on 2024-07-11 10:16 +# Generated by Django 3.2.25 on 2024-07-12 15:33 from django.db import migrations, models import django.db.models.deletion @@ -15,7 +15,7 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Contributor', fields=[ - ('id', models.IntegerField(primary_key=True, serialize=False)), + ('id', models.IntegerField(help_text="The contributor's GitHub user-ID.", primary_key=True, serialize=False)), ('email', models.EmailField(max_length=254, verbose_name='email')), ('name', models.TextField(verbose_name='name')), ('location', models.TextField(verbose_name='location')), @@ -31,8 +31,8 @@ class Migration(migrations.Migration): name='Repository', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('gh_id', models.IntegerField(verbose_name='GitHub ID')), - ('points', models.IntegerField(default=0, verbose_name='points')), + ('gh_id', models.IntegerField(help_text='Github ID of the repo a contributor has contributed to.', verbose_name='GitHub ID')), + ('points', models.IntegerField(default=0, help_text='Story points the contributor closed for this repository.', verbose_name='points')), ('contributor', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.contributor')), ], options={ @@ -45,7 +45,7 @@ class Migration(migrations.Migration): name='AgreementSignature', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('agreement_id', models.CharField(max_length=40, verbose_name='agreement id')), + ('agreement_id', models.CharField(help_text='Commit ID of the contribution agreement in workspace.', max_length=40, verbose_name='agreement id')), ('signed_at', models.DateTimeField(verbose_name='signed at')), ('contributor', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.contributor')), ],