alter field

FFIB 4 年之前
父節點
當前提交
b166113653
共有 2 個文件被更改,包括 21 次插入1 次删除
  1. 20 0
      account/migrations/0052_auto_20201209_1857.py
  2. 1 1
      account/models.py

+ 20 - 0
account/migrations/0052_auto_20201209_1857.py

@@ -0,0 +1,20 @@
1
+# -*- coding: utf-8 -*-
2
+# Generated by Django 1.11.26 on 2020-12-09 10:57
3
+from __future__ import unicode_literals
4
+
5
+from django.db import migrations, models
6
+
7
+
8
+class Migration(migrations.Migration):
9
+
10
+    dependencies = [
11
+        ('account', '0051_userintegralincomeexpensesinfo'),
12
+    ]
13
+
14
+    operations = [
15
+        migrations.AlterField(
16
+            model_name='userintegralincomeexpensesinfo',
17
+            name='user_id',
18
+            field=models.CharField(blank=True, db_index=True, help_text='\u7528\u6237\u552f\u4e00\u6807\u8bc6', max_length=32, null=True, verbose_name='user_id'),
19
+        ),
20
+    ]

+ 1 - 1
account/models.py

@@ -333,7 +333,7 @@ class UserIntegralIncomeExpensesInfo(BaseModelMixin):
333 333
         (CONTRIBUTE, u'投稿'),
334 334
     )
335 335
 
336
-    user_id = models.CharField(_(u'clerk_id'), max_length=32, blank=True, null=True, help_text=u'用户唯一标识', db_index=True)
336
+    user_id = models.CharField(_(u'user_id'), max_length=32, blank=True, null=True, help_text=u'用户唯一标识', db_index=True)
337 337
 
338 338
     brand_id = models.CharField(_(u'brand_id'), max_length=32, blank=True, null=True, help_text=u'品牌唯一标识', db_index=True)
339 339
     brand_name = models.CharField(_(u'brand_name'), max_length=255, blank=True, null=True, help_text=u'品牌名称')