|
Server : LiteSpeed System : Linux srv104790275 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : dewac4139 ( 1077) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/local/CyberCP/mailServer/ |
Upload File : |
# This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
# * Rearrange models' order
# * Make sure each model has one field with primary_key=True
# * Make sure each ForeignKey has `on_delete` set to the desired behavior.
# * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table
# Feel free to rename the models, but don't rename db_table values or field names.
from django.db import models
from websiteFunctions.models import Websites, ChildDomains
class Domains(models.Model):
domainOwner = models.ForeignKey(Websites,on_delete=models.CASCADE, null=True)
childOwner = models.ForeignKey(ChildDomains, on_delete=models.CASCADE, null=True)
domain = models.CharField(primary_key=True, max_length=50)
class Meta:
db_table = 'e_domains'
class EUsers(models.Model):
emailOwner = models.ForeignKey(Domains, on_delete=models.CASCADE)
email = models.CharField(primary_key=True, max_length=80)
password = models.CharField(max_length=200)
mail = models.CharField(max_length=200, default='')
DiskUsage = models.CharField(max_length=200, default='0')
class Meta:
db_table = 'e_users'
class Forwardings(models.Model):
source = models.CharField(max_length=80)
destination = models.TextField()
class Meta:
db_table = 'e_forwardings'
class Transport(models.Model):
domain = models.CharField(unique=True, max_length=128)
transport = models.CharField(max_length=128)
class Meta:
db_table = 'e_transport'
class Pipeprograms(models.Model):
source = models.CharField(max_length=80)
destination = models.TextField()