add initial data model for managemails
This commit is contained in:
parent
0e5486f049
commit
540871865f
3 changed files with 53 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
|
||||
class Mailbox(models.Model):
|
||||
username = models.CharField(max_length=128)
|
||||
domain = models.CharField(max_length=128)
|
||||
password = models.CharField(max_length=64)
|
||||
home = models.CharField(max_length=255)
|
||||
uid = models.PositiveSmallIntegerField()
|
||||
gid = models.PositiveSmallIntegerField()
|
||||
active = models.BooleanField(default=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue