This commit is contained in:
Eugene Pankov
2021-07-22 21:34:05 +02:00
parent 08e8f07785
commit 0b0d711a08
7 changed files with 55 additions and 16 deletions

View File

@@ -16,8 +16,8 @@ class Config(models.Model):
class User(AbstractUser):
active_config = models.ForeignKey(Config, null=True, on_delete=models.SET_NULL, related_name='+')
active_version = models.CharField(max_length=32, null=True)
custom_connection_gateway = models.CharField(max_length=255, null=True)
custom_connection_gateway_token = models.CharField(max_length=255, null=True)
custom_connection_gateway = models.CharField(max_length=255, null=True, blank=True)
custom_connection_gateway_token = models.CharField(max_length=255, null=True, blank=True)
created_at = models.DateTimeField(auto_now_add=True)
modified_at = models.DateTimeField(auto_now=True)