Compare commits

..

No commits in common. "3f8739d035473226c1a7991762c1b3f5991a7d2a" and "fc9419f30177a94d8308d84d73299313e5d9a633" have entirely different histories.

3 changed files with 2 additions and 9 deletions

View File

@ -8,7 +8,7 @@ class SubscriptionRequest(models.Model):
pages: int = models.IntegerField()
pages_left: int = models.IntegerField(default=1)
doc_type: str = models.CharField(max_length=100)
request_id = models.CharField(max_length=200, db_index=True) # Change to request_id
request_id = models.CharField(max_length=200) # Change to request_id
redemption_id = models.CharField(max_length=200, null=True)
process_type = models.CharField(max_length=200) # driver/id/invoice
provider_code = models.CharField(max_length=200, default="Guest") # Request source FWD/CTel

View File

@ -35,10 +35,3 @@ class SubscriptionRequestFile(models.Model):
feedback_accuracy = models.JSONField(null=True)
reviewed_accuracy = models.JSONField(null=True)
class Meta:
indexes = [
models.Index(fields=['request', 'index_in_request', 'doc_type']), # For updating results
models.Index(fields=['request', 'file_name']), # for getting image files by AI
]

View File

@ -6,7 +6,7 @@ from fwd_api.constant.common import EntityStatus
class UserProfile(models.Model):
id = models.AutoField(primary_key=True, db_index=True)
id = models.AutoField(primary_key=True)
user_name: str = models.CharField(max_length=200, null=True)
password: str = models.CharField(max_length=200, null=True)
full_name: str = models.CharField(max_length=200, null=True)