Add missing field
This commit is contained in:
parent
385c9c8a2a
commit
fc7f40d17a
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ class VMHost(UncloudModel):
|
||||||
|
|
||||||
|
|
||||||
class VMProduct(models.Model):
|
class VMProduct(models.Model):
|
||||||
|
owner = models.ForeignKey(get_user_model(), on_delete=models.CASCADE,
|
||||||
|
blank=True, null=True)
|
||||||
vmhost = models.ForeignKey(
|
vmhost = models.ForeignKey(
|
||||||
VMHost, on_delete=models.CASCADE, editable=False, blank=True, null=True
|
VMHost, on_delete=models.CASCADE, editable=False, blank=True, null=True
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue