Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add githubIssueNumber field for epic work #52

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.env
.venv/
.idea/
pgdata/
webdata/
*__pycache__/
.vscode/
28 changes: 28 additions & 0 deletions web/services/migrations/0007_add_issue_number_field.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Generated by Django 3.2.23 on 2024-03-15 11:10

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('services', '0006_extend_stacktrace_length'),
]

operations = [
migrations.AddField(
model_name='errorreport',
name='githubIssueNumber',
field=models.CharField(blank=True, default='', max_length=16),
),
migrations.AlterField(
model_name='errorreport',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='userdetails',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
]
1 change: 1 addition & 0 deletions web/services/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class ErrorReport(models.Model):
default="",
null="True")
stacktrace = models.CharField(max_length=10000, default="")
githubIssueNumber = models.CharField(max_length=16, default="", blank=True)

def removePIIData(reports):
# Delete identifiable parts of chosen reports
Expand Down