stats
[redakcja.git] / src / alerts / migrations / 0001_initial.py
1 # Generated by Django 3.2.12 on 2022-05-23 11:14
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         ('documents', '0008_book_legimi_id'),
13     ]
14
15     operations = [
16         migrations.CreateModel(
17             name='Alert',
18             fields=[
19                 ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
20                 ('tag', models.CharField(max_length=32)),
21                 ('book', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='documents.book')),
22             ],
23         ),
24     ]