Add missing field

This commit is contained in:
PCoder 2021-04-15 16:58:48 +05:30
parent 385c9c8a2a
commit fc7f40d17a
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ class VMHost(UncloudModel):
class VMProduct(models.Model):
owner = models.ForeignKey(get_user_model(), on_delete=models.CASCADE,
blank=True, null=True)
vmhost = models.ForeignKey(
VMHost, on_delete=models.CASCADE, editable=False, blank=True, null=True
)