1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-03-22 10:34:49 +00:00

Fixe migrations for new deployments

This commit is contained in:
Real-Gecko 2020-05-28 18:19:25 +06:00 committed by catborise
parent 67ad9bbe14
commit 65328751c3
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=[