Skip to content

Commit

Permalink
Merge pull request #193 from UnitapApp/fix/prizetap-provider-dashboard
Browse files Browse the repository at this point in the history
Add the explanation field to the constraints
  • Loading branch information
ShayanShiravani authored Nov 22, 2023
2 parents 3e08e0e + 76c52c1 commit 1b5f8ed
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class Type(models.TextChoices):
title = models.CharField(max_length=255)
type = models.CharField(max_length=10, choices=Type.choices, default=Type.VERIFICATION)
description = models.TextField(null=True, blank=True)
explanation = models.TextField(null=True, blank=True)
response = models.TextField(null=True, blank=True)
icon_url = models.CharField(max_length=255, null=True, blank=True)

Expand Down
18 changes: 18 additions & 0 deletions prizetap/migrations/0043_constraint_explanation.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.0.4 on 2023-11-22 05:30

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('prizetap', '0042_alter_raffle_max_multiplier_and_more'),
]

operations = [
migrations.AddField(
model_name='constraint',
name='explanation',
field=models.TextField(blank=True, null=True),
),
]
18 changes: 18 additions & 0 deletions tokenTap/migrations/0022_constraint_explanation.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.0.4 on 2023-11-22 05:39

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('tokenTap', '0021_alter_constraint_name'),
]

operations = [
migrations.AddField(
model_name='constraint',
name='explanation',
field=models.TextField(blank=True, null=True),
),
]

0 comments on commit 1b5f8ed

Please sign in to comment.