Skip to content

Commit

Permalink
fix: remove challenge dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
endalkh committed Jul 12, 2024
1 parent c0dec4d commit 895e950
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Generated by Django 4.2.2 on 2024-07-12 20:34

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("product_management", "0052_delete_productchallenge"),
]

operations = [
migrations.DeleteModel(
name="ChallengeDependency",
),
]
8 changes: 0 additions & 8 deletions apps/product_management/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,6 @@ def _pre_save(sender, instance, **kwargs):
instance.claimed_by = None


class ChallengeDependency(models.Model):
preceding_challenge = models.ForeignKey(to=Challenge, on_delete=models.CASCADE)
subsequent_challenge = models.ForeignKey(to=Challenge, on_delete=models.CASCADE, related_name="Challenge")

class Meta:
db_table = "product_management_challenge_dependencies"


class ContributorGuide(models.Model):
product = models.ForeignKey(
to=Product,
Expand Down

0 comments on commit 895e950

Please sign in to comment.