Make migrate-one-vm-to-regular command idempotent

This commit is contained in:
ahmadbilalkhalid 2020-03-04 13:25:46 +05:00
commit a662b1fe29
4 changed files with 80 additions and 45 deletions

View file

@ -53,6 +53,7 @@ class VMProduct(Product):
cores = models.IntegerField()
ram_in_gb = models.FloatField()
vmid = models.IntegerField(null=True)
class VMWithOSProduct(VMProduct):