|
@ -68,7 +68,7 @@ class Check(models.Model): |
|
|
code = models.UUIDField(default=uuid.uuid4, editable=False, unique=True) |
|
|
code = models.UUIDField(default=uuid.uuid4, editable=False, unique=True) |
|
|
desc = models.TextField(blank=True) |
|
|
desc = models.TextField(blank=True) |
|
|
user = models.ForeignKey(User, models.CASCADE) |
|
|
user = models.ForeignKey(User, models.CASCADE) |
|
|
project = models.ForeignKey(Project, models.CASCADE, null=True) |
|
|
|
|
|
|
|
|
project = models.ForeignKey(Project, models.CASCADE) |
|
|
created = models.DateTimeField(auto_now_add=True) |
|
|
created = models.DateTimeField(auto_now_add=True) |
|
|
kind = models.CharField(max_length=10, default="simple", |
|
|
kind = models.CharField(max_length=10, default="simple", |
|
|
choices=CHECK_KINDS) |
|
|
choices=CHECK_KINDS) |
|
@ -264,7 +264,7 @@ class Channel(models.Model): |
|
|
name = models.CharField(max_length=100, blank=True) |
|
|
name = models.CharField(max_length=100, blank=True) |
|
|
code = models.UUIDField(default=uuid.uuid4, editable=False, unique=True) |
|
|
code = models.UUIDField(default=uuid.uuid4, editable=False, unique=True) |
|
|
user = models.ForeignKey(User, models.CASCADE) |
|
|
user = models.ForeignKey(User, models.CASCADE) |
|
|
project = models.ForeignKey(Project, models.CASCADE, null=True,) |
|
|
|
|
|
|
|
|
project = models.ForeignKey(Project, models.CASCADE) |
|
|
created = models.DateTimeField(auto_now_add=True) |
|
|
created = models.DateTimeField(auto_now_add=True) |
|
|
kind = models.CharField(max_length=20, choices=CHANNEL_KINDS) |
|
|
kind = models.CharField(max_length=20, choices=CHANNEL_KINDS) |
|
|
value = models.TextField(blank=True) |
|
|
value = models.TextField(blank=True) |
|
|