move to postgresql

This commit is contained in:
2026-03-26 10:27:07 -03:00
parent c9ba9e4f5f
commit a85722f96a
20 changed files with 800 additions and 234 deletions

View File

@@ -274,32 +274,3 @@ class SourceBrandSighting(models.Model):
def __str__(self):
return str(self.id)
class SourceJob(models.Model):
"""A group of chunks that belong together (same source video/session)."""
job_id = models.CharField(max_length=255)
source_type = models.CharField(max_length=255)
chunk_count = models.IntegerField()
total_bytes = models.IntegerField(default=0)
class Meta:
pass
def __str__(self):
return str(self.id)
class ChunkInfo(models.Model):
"""A single chunk (video segment) stored in blob storage."""
filename = models.CharField(max_length=500)
key = models.CharField(max_length=255)
size_bytes = models.IntegerField()
class Meta:
pass
def __str__(self):
return self.filename