move to postgresql
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user