@@ -0,0 +1,39 @@ |
||
| 1 |
+# -*- coding: utf-8 -*- |
|
| 2 |
+from __future__ import unicode_literals |
|
| 3 |
+ |
|
| 4 |
+from django.db import models, migrations |
|
| 5 |
+ |
|
| 6 |
+ |
|
| 7 |
+class Migration(migrations.Migration): |
|
| 8 |
+ |
|
| 9 |
+ dependencies = [ |
|
| 10 |
+ ('account', '0006_auto_20151223_1533'),
|
|
| 11 |
+ ] |
|
| 12 |
+ |
|
| 13 |
+ operations = [ |
|
| 14 |
+ migrations.AlterField( |
|
| 15 |
+ model_name='lensmaninfo', |
|
| 16 |
+ name='status', |
|
| 17 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 18 |
+ ), |
|
| 19 |
+ migrations.AlterField( |
|
| 20 |
+ model_name='lensmanloginloginfo', |
|
| 21 |
+ name='status', |
|
| 22 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 23 |
+ ), |
|
| 24 |
+ migrations.AlterField( |
|
| 25 |
+ model_name='userinfo', |
|
| 26 |
+ name='sex', |
|
| 27 |
+ field=models.IntegerField(default=1, help_text='\u7528\u6237\u6027\u522b', verbose_name='sex', choices=[(1, '\u7537'), (0, '\u5973')]), |
|
| 28 |
+ ), |
|
| 29 |
+ migrations.AlterField( |
|
| 30 |
+ model_name='userinfo', |
|
| 31 |
+ name='status', |
|
| 32 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 33 |
+ ), |
|
| 34 |
+ migrations.AlterField( |
|
| 35 |
+ model_name='userloginloginfo', |
|
| 36 |
+ name='status', |
|
| 37 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 38 |
+ ), |
|
| 39 |
+ ] |
@@ -0,0 +1,39 @@ |
||
| 1 |
+# -*- coding: utf-8 -*- |
|
| 2 |
+from __future__ import unicode_literals |
|
| 3 |
+ |
|
| 4 |
+from django.db import models, migrations |
|
| 5 |
+ |
|
| 6 |
+ |
|
| 7 |
+class Migration(migrations.Migration): |
|
| 8 |
+ |
|
| 9 |
+ dependencies = [ |
|
| 10 |
+ ('group', '0009_photothumbupinfo'),
|
|
| 11 |
+ ] |
|
| 12 |
+ |
|
| 13 |
+ operations = [ |
|
| 14 |
+ migrations.AlterField( |
|
| 15 |
+ model_name='groupinfo', |
|
| 16 |
+ name='status', |
|
| 17 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 18 |
+ ), |
|
| 19 |
+ migrations.AlterField( |
|
| 20 |
+ model_name='groupphotoinfo', |
|
| 21 |
+ name='status', |
|
| 22 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 23 |
+ ), |
|
| 24 |
+ migrations.AlterField( |
|
| 25 |
+ model_name='groupuserinfo', |
|
| 26 |
+ name='status', |
|
| 27 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 28 |
+ ), |
|
| 29 |
+ migrations.AlterField( |
|
| 30 |
+ model_name='photocommentinfo', |
|
| 31 |
+ name='status', |
|
| 32 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 33 |
+ ), |
|
| 34 |
+ migrations.AlterField( |
|
| 35 |
+ model_name='photothumbupinfo', |
|
| 36 |
+ name='status', |
|
| 37 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 38 |
+ ), |
|
| 39 |
+ ] |
@@ -0,0 +1,19 @@ |
||
| 1 |
+# -*- coding: utf-8 -*- |
|
| 2 |
+from __future__ import unicode_literals |
|
| 3 |
+ |
|
| 4 |
+from django.db import models, migrations |
|
| 5 |
+ |
|
| 6 |
+ |
|
| 7 |
+class Migration(migrations.Migration): |
|
| 8 |
+ |
|
| 9 |
+ dependencies = [ |
|
| 10 |
+ ('message', '0001_initial'),
|
|
| 11 |
+ ] |
|
| 12 |
+ |
|
| 13 |
+ operations = [ |
|
| 14 |
+ migrations.AlterField( |
|
| 15 |
+ model_name='usermessageinfo', |
|
| 16 |
+ name='status', |
|
| 17 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 18 |
+ ), |
|
| 19 |
+ ] |
@@ -0,0 +1,24 @@ |
||
| 1 |
+# -*- coding: utf-8 -*- |
|
| 2 |
+from __future__ import unicode_literals |
|
| 3 |
+ |
|
| 4 |
+from django.db import models, migrations |
|
| 5 |
+ |
|
| 6 |
+ |
|
| 7 |
+class Migration(migrations.Migration): |
|
| 8 |
+ |
|
| 9 |
+ dependencies = [ |
|
| 10 |
+ ('operation', '0001_initial'),
|
|
| 11 |
+ ] |
|
| 12 |
+ |
|
| 13 |
+ operations = [ |
|
| 14 |
+ migrations.AlterField( |
|
| 15 |
+ model_name='latestappinfo', |
|
| 16 |
+ name='status', |
|
| 17 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 18 |
+ ), |
|
| 19 |
+ migrations.AlterField( |
|
| 20 |
+ model_name='splashinfo', |
|
| 21 |
+ name='status', |
|
| 22 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 23 |
+ ), |
|
| 24 |
+ ] |
@@ -6,7 +6,7 @@ from django.utils.translation import ugettext_lazy as _ |
||
| 6 | 6 |
|
| 7 | 7 |
|
| 8 | 8 |
class CreateUpdateMixin(models.Model): |
| 9 |
- status = models.BooleanField(_(u'status'), default=True, help_text=_(u'状态')) |
|
| 9 |
+ status = models.BooleanField(_(u'status'), default=True, help_text=_(u'状态'), db_index=True) |
|
| 10 | 10 |
created_at = models.DateTimeField(_(u'created_at'), auto_now_add=True, editable=True, help_text=_(u'创建时间')) |
| 11 | 11 |
updated_at = models.DateTimeField(_(u'updated_at'), auto_now=True, editable=True, help_text=_(u'更新时间')) |
| 12 | 12 |
|
@@ -0,0 +1,24 @@ |
||
| 1 |
+# -*- coding: utf-8 -*- |
|
| 2 |
+from __future__ import unicode_literals |
|
| 3 |
+ |
|
| 4 |
+from django.db import models, migrations |
|
| 5 |
+ |
|
| 6 |
+ |
|
| 7 |
+class Migration(migrations.Migration): |
|
| 8 |
+ |
|
| 9 |
+ dependencies = [ |
|
| 10 |
+ ('photo', '0005_auto_20151207_1811'),
|
|
| 11 |
+ ] |
|
| 12 |
+ |
|
| 13 |
+ operations = [ |
|
| 14 |
+ migrations.AlterField( |
|
| 15 |
+ model_name='photosinfo', |
|
| 16 |
+ name='status', |
|
| 17 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 18 |
+ ), |
|
| 19 |
+ migrations.AlterField( |
|
| 20 |
+ model_name='uuidinfo', |
|
| 21 |
+ name='status', |
|
| 22 |
+ field=models.BooleanField(default=True, help_text='\u72b6\u6001', db_index=True, verbose_name='status'), |
|
| 23 |
+ ), |
|
| 24 |
+ ] |