new layout fixes
[wolnelektury.git] / src / stats / migrations / 0001_initial.py
1 # Generated by Django 2.2.19 on 2021-05-31 13:36
2
3 from django.db import migrations, models
4 import django.db.models.deletion
5
6
7 class Migration(migrations.Migration):
8
9     initial = True
10
11     dependencies = [
12         ('catalogue', '0032_collection_listed'),
13     ]
14
15     operations = [
16         migrations.CreateModel(
17             name='Visits',
18             fields=[
19                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
20                 ('year', models.PositiveSmallIntegerField()),
21                 ('month', models.PositiveSmallIntegerField()),
22                 ('views', models.IntegerField()),
23                 ('unique_views', models.IntegerField()),
24                 ('book', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='catalogue.Book')),
25             ],
26         ),
27     ]