Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
01dc798a5f
@ -5,14 +5,9 @@ from django.db import models
|
|||||||
class Session(models.Model):
|
class Session(models.Model):
|
||||||
user = models.ForeignKey(User, primary_key=True, on_delete=models.CASCADE)
|
user = models.ForeignKey(User, primary_key=True, on_delete=models.CASCADE)
|
||||||
port = models.PositiveIntegerField(null=False, unique=True)
|
port = models.PositiveIntegerField(null=False, unique=True)
|
||||||
|
sessionid = models.CharField(max_length=32)
|
||||||
|
|
||||||
|
|
||||||
class Profile(models.Model):
|
class Profile(models.Model):
|
||||||
user = models.ForeignKey(User, primary_key=True, on_delete=models.CASCADE)
|
user = models.ForeignKey(User, primary_key=True, on_delete=models.CASCADE)
|
||||||
volume = models.CharField(max_length=64)
|
volume = models.CharField(max_length=64)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user