-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fields for contributors and release information to Repo model (#3161
) * Add fields for contributors and release information to Repo model * Add fields for contributors and release information to Repo model
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
website/migrations/0176_repo_contributor_repo_contributor_count_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Generated by Django 5.1.3 on 2024-12-24 00:05 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("website", "0175_remove_project_closed_issues_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="repo", | ||
name="contributor", | ||
field=models.ManyToManyField( | ||
blank=True, related_name="repos", to="website.contributor" | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="repo", | ||
name="contributor_count", | ||
field=models.IntegerField(default=0), | ||
), | ||
migrations.AddField( | ||
model_name="repo", | ||
name="logo_url", | ||
field=models.URLField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="repo", | ||
name="release_datetime", | ||
field=models.DateTimeField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="repo", | ||
name="release_name", | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters