mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Since we frequently do filters for only active users, these indexes may help performance in some cases.
		
			
				
	
	
		
			25 lines
		
	
	
		
			618 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			618 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# -*- coding: utf-8 -*-
 | 
						|
from __future__ import unicode_literals
 | 
						|
 | 
						|
from django.db import models, migrations
 | 
						|
 | 
						|
 | 
						|
class Migration(migrations.Migration):
 | 
						|
 | 
						|
    dependencies = [
 | 
						|
        ('zerver', '0006_zerver_userprofile_email_upper_idx'),
 | 
						|
    ]
 | 
						|
 | 
						|
    operations = [
 | 
						|
        migrations.AlterField(
 | 
						|
            model_name='userprofile',
 | 
						|
            name='is_active',
 | 
						|
            field=models.BooleanField(default=True, db_index=True),
 | 
						|
        ),
 | 
						|
        migrations.AlterField(
 | 
						|
            model_name='userprofile',
 | 
						|
            name='is_bot',
 | 
						|
            field=models.BooleanField(default=False, db_index=True),
 | 
						|
        ),
 | 
						|
    ]
 |