1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #24301 -- Added PostgreSQL-specific aggregate functions

This commit is contained in:
Andriy Sokolovskiy
2015-02-08 17:21:48 +02:00
committed by Tim Graham
parent 931a340f1f
commit e4cf8c8420
10 changed files with 646 additions and 1 deletions

View File

@@ -105,6 +105,24 @@ class Migration(migrations.Migration):
options=None,
bases=None,
),
migrations.CreateModel(
name='AggregateTestModel',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('boolean_field', models.NullBooleanField()),
('char_field', models.CharField(max_length=30, blank=True)),
('integer_field', models.IntegerField(null=True)),
]
),
migrations.CreateModel(
name='StatTestModel',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('int1', models.IntegerField()),
('int2', models.IntegerField()),
('related_field', models.ForeignKey('postgres_tests.AggregateTestModel', null=True)),
]
),
]
pg_92_operations = [