1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Fixe migrations for new deployments

This commit is contained in:
Real-Gecko 2020-05-28 18:19:25 +06:00
parent e4e79d3d4b
commit 85929b5327
11 changed files with 88 additions and 104 deletions

View file

@ -29,6 +29,7 @@ class UserSSHKey(models.Model):
class UserAttributes(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
can_clone_instances = models.BooleanField(default=True)
max_instances = models.IntegerField(default=1,
help_text="-1 for unlimited. Any integer value",
validators=[