Private
Public Access
1
0
This commit is contained in:
2024-12-26 14:03:51 +01:00
parent 4960950ab2
commit a5c8e24daf

View File

@@ -5588,10 +5588,10 @@ class ForceCurveAnalysis(models.Model):
return s
class iDokladToken(models.Model):
access_token = models.CharField(max_length=512)
refresh_token = models.CharField(max_length=512)
id_token = models.CharField(max_length=512)
token_type = models.CharField(max_length=512)
access_token = models.TextField(max_length=512)
refresh_token = models.TextField(max_length=512)
id_token = models.TextField(max_length=512)
token_type = models.TextField(max_length=512)
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)
expires_in = models.IntegerField() # Store token expiry duration in seconds