From fc7f40d17a39f28062a2dbb55b36241e56292adf Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 15 Apr 2021 16:58:48 +0530 Subject: [PATCH] Add missing field --- uncloud_vm/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uncloud_vm/models.py b/uncloud_vm/models.py index c605779..c904c53 100644 --- a/uncloud_vm/models.py +++ b/uncloud_vm/models.py @@ -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 )