gault-millau/apps/account/migrations/0036_auto_20200205_1457.py
2020-02-10 16:58:04 +03:00

38 lines
1.3 KiB
Python

# Generated by Django 2.2.7 on 2020-02-05 14:57
import django.contrib.postgres.indexes
from django.db import migrations
from django.contrib.postgres.operations import TrigramExtension, BtreeGinExtension
class Migration(migrations.Migration):
dependencies = [
('account', '0035_userrole_for_team'),
]
operations = [
BtreeGinExtension(),
TrigramExtension(),
migrations.AddIndex(
model_name='user',
index=django.contrib.postgres.indexes.GinIndex(fields=['username'], name='account_use_usernam_20b96d_gin'),
),
migrations.AddIndex(
model_name='user',
index=django.contrib.postgres.indexes.GinIndex(fields=['first_name'], name='account_use_first_n_472c42_gin'),
),
migrations.AddIndex(
model_name='user',
index=django.contrib.postgres.indexes.GinIndex(fields=['last_name'], name='account_use_last_na_595e99_gin'),
),
migrations.AddIndex(
model_name='user',
index=django.contrib.postgres.indexes.GinIndex(fields=['email'], name='account_use_email_2f1668_gin'),
),
migrations.AddIndex(
model_name='user',
index=django.contrib.postgres.indexes.GinIndex(fields=['phone'], name='account_use_phone_9593fb_gin'),
),
]