0011_auto_20171120_0814.py 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.db import models, migrations
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('users', '0010_auto_20171117_0831'),
  7. ]
  8. operations = [
  9. migrations.CreateModel(
  10. name='Reply',
  11. fields=[
  12. ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
  13. ('fb_content', models.TextField(default=b'', max_length=500, blank=True, help_text='\u4e0d\u8d85\u8fc7250\u5b57', null=True, verbose_name='\u95ee\u9898\u56de\u590d')),
  14. ],
  15. ),
  16. migrations.RemoveField(
  17. model_name='reader',
  18. name='fb_content',
  19. ),
  20. migrations.AddField(
  21. model_name='reply',
  22. name='fb_id',
  23. field=models.ForeignKey(verbose_name='\u5173\u8054\u8bfb\u8005', to='users.Reader', null=True),
  24. ),
  25. migrations.AddField(
  26. model_name='reply',
  27. name='u_id',
  28. field=models.ForeignKey(verbose_name='\u5173\u8054\u7528\u6237', to='users.Users', null=True),
  29. ),
  30. ]