mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 19:11:09 +00:00
82 lines
2.8 KiB
Python
82 lines
2.8 KiB
Python
# Generated by Django 3.0.3 on 2020-03-30 22:32
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
import fedireads.utils.fields
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('fedireads', '0026_auto_20200330_1456'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name='book',
|
|
name='language',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='book',
|
|
name='parent_work',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='book',
|
|
name='shelves',
|
|
),
|
|
migrations.AddField(
|
|
model_name='book',
|
|
name='languages',
|
|
field=fedireads.utils.fields.ArrayField(base_field=models.CharField(max_length=255), blank=True, default=list, size=None),
|
|
),
|
|
migrations.AddField(
|
|
model_name='edition',
|
|
name='default',
|
|
field=models.BooleanField(default=False),
|
|
),
|
|
migrations.AddField(
|
|
model_name='edition',
|
|
name='parent_work',
|
|
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='fedireads.Work'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='edition',
|
|
name='shelves',
|
|
field=models.ManyToManyField(through='fedireads.ShelfBook', to='fedireads.Shelf'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='comment',
|
|
name='book',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='fedireads.Edition'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='notification',
|
|
name='related_book',
|
|
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='fedireads.Edition'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='review',
|
|
name='book',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='fedireads.Edition'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='shelf',
|
|
name='books',
|
|
field=models.ManyToManyField(through='fedireads.ShelfBook', to='fedireads.Edition'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='shelfbook',
|
|
name='book',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='fedireads.Edition'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='status',
|
|
name='mention_books',
|
|
field=models.ManyToManyField(related_name='mention_book', to='fedireads.Edition'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='tag',
|
|
name='book',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='fedireads.Edition'),
|
|
),
|
|
]
|