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 )