diff --git a/dockerManager/models.py b/dockerManager/models.py index bef790aa5..79a08cce5 100755 --- a/dockerManager/models.py +++ b/dockerManager/models.py @@ -43,4 +43,16 @@ class DockerSites(models.Model): finalURL = models.TextField() blogTitle = models.TextField() adminUser = models.CharField(max_length=100) - adminEmail = models.CharField(max_length=100) \ No newline at end of file + adminEmail = models.CharField(max_length=100) + +class DockerPackages(models.Model): + CPUs = models.IntegerField() + Ram = models.IntegerField() + Bandwidth = models.TextField() + DiskSpace = models.TextField() + config = models.TextField() + + +class PackageAssignment(models.Model): + user = models.ForeignKey(Administrator, on_delete=models.CASCADE) + package = models.ForeignKey(DockerPackages, on_delete=models.CASCADE) \ No newline at end of file