Skip to content

Commit 0b2fa49

Browse files
committed
Add migration for adding range_merge aggregation
1 parent 03cc3fb commit 0b2fa49

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated by Django 4.1.2 on 2022-10-09 05:30
2+
3+
from django.db import migrations
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
initial = True
9+
10+
dependencies = []
11+
12+
operations = [
13+
migrations.RunSQL(
14+
sql=[("CREATE OR REPLACE AGGREGATE range_merge(anyrange)(sfunc=range_merge, stype=anyrange);")],
15+
reverse_sql=[("DROP AGGREGATE IF EXISTS range_merge(anyrange);")],
16+
)
17+
]

0 commit comments

Comments
 (0)