mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #26610 -- Added CITextField to contrib.postgres.
This commit is contained in:
parent
7eda99f03f
commit
094d630ae8
11 changed files with 110 additions and 10 deletions
|
@ -5,9 +5,9 @@ from django.core.serializers.json import DjangoJSONEncoder
|
|||
from django.db import migrations, models
|
||||
|
||||
from ..fields import (
|
||||
ArrayField, BigIntegerRangeField, DateRangeField, DateTimeRangeField,
|
||||
FloatRangeField, HStoreField, IntegerRangeField, JSONField,
|
||||
SearchVectorField,
|
||||
ArrayField, BigIntegerRangeField, CITextField, DateRangeField,
|
||||
DateTimeRangeField, FloatRangeField, HStoreField, IntegerRangeField,
|
||||
JSONField, SearchVectorField,
|
||||
)
|
||||
from ..models import TagField
|
||||
|
||||
|
@ -138,6 +138,16 @@ class Migration(migrations.Migration):
|
|||
options=None,
|
||||
bases=None,
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='CITextTestModel',
|
||||
fields=[
|
||||
('name', CITextField(primary_key=True, max_length=255)),
|
||||
],
|
||||
options={
|
||||
'required_db_vendor': 'postgresql',
|
||||
},
|
||||
bases=None,
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Line',
|
||||
fields=[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue