mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
8 lines
172 B
Python
8 lines
172 B
Python
|
from django.contrib.postgres.indexes import GinIndex
|
||
|
|
||
|
NameSearchIndex = GinIndex(
|
||
|
name='%(class)s_name_gin_idx',
|
||
|
fields=['name'],
|
||
|
opclasses=['gin_trgm_ops'],
|
||
|
)
|