0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-06 05:45:27 +00:00
healthchecks_healthchecks/hc/api/models.py
Pēteris Caune c8b24495b9 Renames
2015-06-12 19:33:15 +03:00

10 lines
274 B
Python

import uuid
from django.contrib.auth.models import User
from django.db import models
class Check(models.Model):
code = models.UUIDField(default=uuid.uuid4, editable=False)
user = models.ForeignKey(User)
last_ping = models.DateTimeField(null=True, blank=True)