mirror of
https://github.com/Hopiu/django-cachalot.git
synced 2026-05-25 20:53:43 +00:00
Reverts the extensions migration changes in tests.
This commit is contained in:
parent
3a97912f3d
commit
a49e7363c0
1 changed files with 4 additions and 4 deletions
|
|
@ -56,16 +56,16 @@ if django_version[:2] >= (1, 8):
|
|||
from django.contrib.postgres.fields import (
|
||||
ArrayField, HStoreField,
|
||||
IntegerRangeField, FloatRangeField, DateRangeField, DateTimeRangeField)
|
||||
from django.contrib.postgres.operations import (
|
||||
HStoreExtension, UnaccentExtension)
|
||||
|
||||
Migration.operations.extend((
|
||||
migrations.AddField('Test', 'duration',
|
||||
models.DurationField(null=True, blank=True)),
|
||||
migrations.AddField('Test', 'uuid',
|
||||
models.UUIDField(null=True, blank=True)),
|
||||
HStoreExtension(),
|
||||
UnaccentExtension(),
|
||||
migrations.RunSQL('CREATE EXTENSION hstore;',
|
||||
hints={'extension': 'hstore'}),
|
||||
migrations.RunSQL('CREATE EXTENSION unaccent;',
|
||||
hints={'extension': 'unaccent'}),
|
||||
migrations.CreateModel(
|
||||
name='PostgresModel',
|
||||
fields=[
|
||||
|
|
|
|||
Loading…
Reference in a new issue