Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptobench committed Jan 15, 2024
1 parent b30610c commit 6da60aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stats-backend/api2/models.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.db import models
from django.utils import timezone
from django.db.models.functions import Extract, Coalesce, Lag
from metamask.models import User
# from metamask.models import User

# Create your models here.

Expand Down Expand Up @@ -34,7 +34,7 @@ class Meta:

class HealtcheckTask(models.Model):
provider = models.ForeignKey(Node, on_delete=models.CASCADE)
user = models.ForeignKey(User, on_delete=models.CASCADE)
# user = models.ForeignKey(User, on_delete=models.CASCADE)
status = models.TextField()
updated_at = models.DateTimeField(auto_now=True)
created_at = models.DateTimeField(auto_now_add=True)

0 comments on commit 6da60aa

Please sign in to comment.