mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28077 -- Added support for PostgreSQL opclasses in Index.
Thanks Vinay Karanam for the initial patch.
This commit is contained in:
@@ -52,3 +52,8 @@ if connection.vendor == 'postgresql':
|
||||
headline = models.CharField(max_length=100, db_index=True)
|
||||
body = models.TextField(db_index=True)
|
||||
slug = models.CharField(max_length=40, unique=True)
|
||||
|
||||
|
||||
class IndexedArticle2(models.Model):
|
||||
headline = models.CharField(max_length=100)
|
||||
body = models.TextField()
|
||||
|
||||
Reference in New Issue
Block a user