Refs #32096 -- Added test for ArrayAgg over JSONField key transforms.

This commit is contained in:
Mariusz Felisiak 2020-10-12 12:52:58 +02:00
parent 7bfdd3b951
commit 1d650ad019
3 changed files with 47 additions and 12 deletions

View file

@ -202,7 +202,11 @@ class Migration(migrations.Migration):
('boolean_field', models.BooleanField(null=True)),
('char_field', models.CharField(max_length=30, blank=True)),
('integer_field', models.IntegerField(null=True)),
]
('json_field', models.JSONField(null=True)),
],
options={
'required_db_vendor': 'postgresql',
},
),
migrations.CreateModel(
name='StatTestModel',
@ -215,7 +219,10 @@ class Migration(migrations.Migration):
models.SET_NULL,
null=True,
)),
]
],
options={
'required_db_vendor': 'postgresql',
},
),
migrations.CreateModel(
name='NowTestModel',