text: # -*- coding: utf-8 -*-
  # Generated by Django 1.10.6 on 2017-03-25 06:26
  from __future__ import unicode_literals
  
  import datetime
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='UserFavorite',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('fav_id', models.IntegerField(default=0, verbose_name='\u6570\u636eid')),
                  ('fav_type', models.CharField(choices=[('topic', 'topic'), ('node', 'node'), ('user', 'user')], max_length=10, verbose_name='\u6536\u85cf\u7c7b\u578b')),
                  ('add_time', models.DateTimeField(default=datetime.datetime.now, verbose_name='\u6dfb\u52a0\u65f6\u95f4')),
                  ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='\u7528\u6237')),
              ],
          ),
      ]
  