mirror of
https://github.com/daniviga/bite.git
synced 2025-04-20 22:41:18 +02:00
Fix typos [skip ci]
This commit is contained in:
parent
b87547c071
commit
b6a9b3e14b
@ -11,10 +11,10 @@ class Migration(migrations.Migration):
|
|||||||
|
|
||||||
# Timescale requires an hyperscale table to have the field used for the
|
# Timescale requires an hyperscale table to have the field used for the
|
||||||
# partitioning ('time') to be in the any UNIQUE constraint.
|
# 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.
|
# however Django always adds an 'id' as PRIMARY_KEY.
|
||||||
# Django's 'id' isn't used as a foreign key, so we are dropping
|
# 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.
|
# We can now create the hypertable.
|
||||||
operations = [
|
operations = [
|
||||||
migrations.RunSQL(
|
migrations.RunSQL(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user