indexing on workoutid
This commit is contained in:
@@ -160,6 +160,7 @@ def auto_delete_strokedata_on_delete(sender, instance, **kwargs):
|
||||
class StrokeData(models.Model):
|
||||
class Meta:
|
||||
db_table = 'strokedata'
|
||||
index_together = ['workoutid']
|
||||
|
||||
workoutid = models.IntegerField(null=True)
|
||||
time = models.FloatField(null=True)
|
||||
|
||||
Reference in New Issue
Block a user