From b6a9b3e14b5626cb844bc750025c7d569c461072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Thu, 25 Mar 2021 17:00:43 +0100 Subject: [PATCH] Fix typos [skip ci] --- bite/telemetry/migrations/0002_timescale.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bite/telemetry/migrations/0002_timescale.py b/bite/telemetry/migrations/0002_timescale.py index 05d1a5d..5ef9fb3 100644 --- a/bite/telemetry/migrations/0002_timescale.py +++ b/bite/telemetry/migrations/0002_timescale.py @@ -11,10 +11,10 @@ class Migration(migrations.Migration): # Timescale requires an hyperscale table to have the field used for the # partitioning ('time') to be in the any UNIQUE constraint. - # Because of that we have a unique_together on 'time' and 'device_id', + # Because of that we have a unique_together on 'time' and 'device', # however Django always adds an 'id' as PRIMARY_KEY. # Django's 'id' isn't used as a foreign key, so we are dropping - # the contraint and simply adding an index to the 'id' columns. + # the contraint and simply adding an index to the 'id' column. # We can now create the hypertable. operations = [ migrations.RunSQL(