Skip to content

Commit fbf4583

Browse files
authored
Merge pull request #41 from ollz272/extension
feat(extension): adds an extension operation for installing timescale to be used in migrations
2 parents 2361a8e + 227fb77 commit fbf4583

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

timescale/db/operations.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.contrib.postgres.operations import CreateExtension
2+
3+
4+
class TimescaleExtension(CreateExtension):
5+
def __init__(self):
6+
self.name = "timescaledb"

0 commit comments

Comments
 (0)