Skip to content

Commit

Permalink
add run variable model.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyqin committed Oct 29, 2017
1 parent 774a93b commit ecc0401
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion testcube/runner/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
from django.db import models

from testcube.core.models import Product
from testcube.core.models import Product, TestRun


class RunVariables(models.Model):
test_run = models.OneToOneField(TestRun, on_delete=models.CASCADE, related_name='run_variables')
detail = models.TextField(null=True, default=None)
created_on = models.DateTimeField(auto_now_add=True)
updated_on = models.DateTimeField(auto_now=True)


class Profile(models.Model):
Expand Down

0 comments on commit ecc0401

Please sign in to comment.