Skip to content

Commit b82f4cf

Browse files
committed
[readme] minor typo
1 parent 15a297d commit b82f4cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class Metric(TimescaleModel):
7979

8080
```
8181

82-
If you already have a table, you can either add `time` field of type `TimescaleDateTimeField` to your model or rename (if not already named `time`) and change type of existing `DateTimeField` (rename first then run `makemigrations` and then change the type, so that `makemigration` considers it as change in same field instead of removing and adding new field). This also triggers the creation of a hypertable.
82+
If you already have a table, you can either add `time` field of type `TimescaleDateTimeField` to your model or rename (if not already named `time`) and change type of existing `DateTimeField` (rename first then run `makemigrations` and then change the type, so that `makemigrations` considers it as change in same field instead of removing and adding new field). This also triggers the creation of a hypertable.
8383

8484
```python
8585
from timescale.db.models.fields import TimescaleDateTimeField

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ field of type `TimescaleDateTimeField` to your model or
8282
rename (if not already named `time`) and change type of
8383
existing `DateTimeField` (rename first then run
8484
`makemigrations` and then change the type, so that
85-
`makemigration` considers it as change in same field
85+
`makemigrations` considers it as change in same field
8686
instead of removing and adding new field). This also
8787
triggers the creation of a hypertable.
8888

0 commit comments

Comments
 (0)