aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content/migrations
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-08-23 13:11:35 +0400
committerGravatar Hassan Abouelela <[email protected]>2022-08-23 13:11:35 +0400
commit2343f7ab5c738b5b28554c766e78eb6a663bd064 (patch)
tree924264f61a5fa7a8b569eef69e398e91de958b18 /pydis_site/apps/content/migrations
parentSupport Hyperlinked Tag Group Replacement (diff)
Rename Tag Model Author Field
Renames the tag model `author` field to `authors` to better indicate what's contained in the field, and updates the documentation. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'pydis_site/apps/content/migrations')
-rw-r--r--pydis_site/apps/content/migrations/0001_add_tags.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/apps/content/migrations/0001_add_tags.py b/pydis_site/apps/content/migrations/0001_add_tags.py
index 73525243..2c31e4c1 100644
--- a/pydis_site/apps/content/migrations/0001_add_tags.py
+++ b/pydis_site/apps/content/migrations/0001_add_tags.py
@@ -1,4 +1,4 @@
-# Generated by Django 4.0.6 on 2022-08-16 17:38
+# Generated by Django 4.0.6 on 2022-08-23 09:06
import django.db.models.deletion
from django.db import migrations, models
@@ -18,7 +18,7 @@ class Migration(migrations.Migration):
('sha', models.CharField(help_text='The SHA hash of this commit.', max_length=40, primary_key=True, serialize=False)),
('message', models.TextField(help_text='The commit message.')),
('date', models.DateTimeField(help_text='The date and time the commit was created.')),
- ('author', models.TextField(help_text='The person(s) who created the commit.')),
+ ('authors', models.TextField(help_text='The person(s) who created the commit. This is a serialized JSON object. Refer to the GitHub documentation on the commit endpoint (schema/commit.author & schema/commit.committer) for more info. https://docs.github.com/en/rest/commits/commits#get-a-commit')),
],
),
migrations.CreateModel(