예제 #1
0
 class Meta:
     verbose_name_plural = _('User Restriction History')
     indexes = [
         LongNameIndex(
             fields=('ip_address', ),
             name='users_userrestrictionhistory_ip_address_4376df32',
         ),
         LongNameIndex(
             fields=('last_login_ip', ),
             name='users_userrestrictionhistory_last_login_ip_d58d95ff',
         ),
     ]
예제 #2
0
 class Meta:
     db_table = 'users'
     indexes = [
         models.Index(fields=('created', ), name='created'),
         models.Index(fields=('fxa_id', ), name='users_fxa_id_index'),
         LongNameIndex(fields=('last_login_ip', ),
                       name='users_last_login_ip_2cfbbfbd'),
     ]
예제 #3
0
 class Meta:
     db_table = 'version_previews'
     ordering = ('position', 'created')
     indexes = [
         LongNameIndex(fields=('version',),
                       name='version_previews_version_id_fk_versions_id'),
         models.Index(fields=('version', 'position', 'created'),
                      name='version_position_created_idx'),
     ]
예제 #4
0
 class Meta:
     db_table = 'log_activity_ip'
     ordering = ('-created', )
     indexes = [
         LongNameIndex(
             fields=('ip_address', ),
             name='log_activity_ip_ip_address_ba36172a',
         ),
     ]
예제 #5
0
 class Meta(ModelBase.Meta):
     indexes = [
         LongNameIndex(fields=('enabled', ),
                       name='hero_secondaryhero_enabled_1a9ea03c'),
     ]