Add sessionid to model
This commit is contained in:
parent
9ed3608b9e
commit
bfc9e07273
@ -5,14 +5,9 @@ from django.db import models
|
||||
class Session(models.Model):
|
||||
user = models.ForeignKey(User, primary_key=True, on_delete=models.CASCADE)
|
||||
port = models.PositiveIntegerField(null=False, unique=True)
|
||||
sessionid = models.CharField(max_length=32)
|
||||
|
||||
|
||||
class Profile(models.Model):
|
||||
user = models.ForeignKey(User, primary_key=True, on_delete=models.CASCADE)
|
||||
volume = models.CharField(max_length=64)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user