1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
4 from django.db import migrations, models
7 class Migration(migrations.Migration):
10 ('catalogue', '0009_auto_20160127_1019'),
14 migrations.CreateModel(
15 name='BookPopularity',
17 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
18 ('count', models.IntegerField(default=0)),
19 ('book', models.OneToOneField(related_name='popularity', to='catalogue.Book')),