<reponame>2600box/harvest
# Generated by Django 2.1.7 on 2019-03-22 10:30

from django.db import migrations, models
import django.db.models.deletion
import torrents.fields


class Migration(migrations.Migration):

    dependencies = [
        ('torrents', '0021_auto_20190322_1030'),
        ('bibliotik', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='BibliotikTorrent',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('fetched_datetime', models.DateTimeField()),
                ('is_deleted', models.BooleanField()),
                ('info_hash', torrents.fields.InfoHashField(db_index=True, max_length=40)),
                ('category', models.CharField(choices=[('Ebooks', 'Ebooks'), ('Applications', 'Applications'), ('Articles', 'Articles'), ('Audiobooks', 'Audiobooks'), ('Comics', 'Comics'), ('Journals', 'Journals'), ('Magazines', 'Magazines')], max_length=32)),
                ('format', models.CharField(max_length=16)),
                ('retail', models.BooleanField(default=False)),
                ('pages', models.IntegerField()),
                ('language', models.CharField(choices=[('English', 'English'), ('Irish', 'Irish'), ('German', 'German'), ('French', 'French'), ('Spanish', 'Spanish'), ('Italian', 'Italian'), ('Latin', 'Latin'), ('Japanese', 'Japanese'), ('Danish', 'Danish'), ('Swedish', 'Swedish'), ('Norwegian', 'Norwegian'), ('Dutch', 'Dutch'), ('Russian', 'Russian'), ('Polish', 'Polish'), ('Portuguese', 'Portuguese'), ('Greek', 'Greek'), ('Turkish', 'Turkish'), ('Hungarian', 'Hungarian'), ('Korean', 'Korean'), ('Chinese', 'Chinese'), ('Thai', 'Thai'), ('Indonesian', 'Indonesian'), ('Arabic', 'Arabic')], max_length=32)),
                ('isbn', models.CharField(max_length=16)),
                ('cover_url', models.TextField()),
                ('tags', models.TextField()),
                ('publisher', models.TextField()),
                ('year', models.IntegerField(null=True)),
                ('author', models.TextField()),
                ('title', models.TextField()),
                ('size', models.BigIntegerField()),
                ('torrent_info', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='bibliotik_torrent', to='torrents.TorrentInfo')),
            ],
        ),
    ]

# Generated by Django 2.1.7 on 2019-03-22 10:30

from django.db import migrations, models
import django.db.models.deletion
import torrents.fields


class Migration(migrations.Migration):

    dependencies = [
        ('torrents', '0021_auto_20190322_1030'),
        ('bibliotik', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='BibliotikTorrent',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('fetched_datetime', models.DateTimeField()),
                ('is_deleted', models.BooleanField()),
                ('info_hash', torrents.fields.InfoHashField(db_index=True, max_length=40)),
                ('category', models.CharField(choices=[('Ebooks', 'Ebooks'), ('Applications', 'Applications'), ('Articles', 'Articles'), ('Audiobooks', 'Audiobooks'), ('Comics', 'Comics'), ('Journals', 'Journals'), ('Magazines', 'Magazines')], max_length=32)),
                ('format', models.CharField(max_length=16)),
                ('retail', models.BooleanField(default=False)),
                ('pages', models.IntegerField()),
                ('language', models.CharField(choices=[('English', 'English'), ('Irish', 'Irish'), ('German', 'German'), ('French', 'French'), ('Spanish', 'Spanish'), ('Italian', 'Italian'), ('Latin', 'Latin'), ('Japanese', 'Japanese'), ('Danish', 'Danish'), ('Swedish', 'Swedish'), ('Norwegian', 'Norwegian'), ('Dutch', 'Dutch'), ('Russian', 'Russian'), ('Polish', 'Polish'), ('Portuguese', 'Portuguese'), ('Greek', 'Greek'), ('Turkish', 'Turkish'), ('Hungarian', 'Hungarian'), ('Korean', 'Korean'), ('Chinese', 'Chinese'), ('Thai', 'Thai'), ('Indonesian', 'Indonesian'), ('Arabic', 'Arabic')], max_length=32)),
                ('isbn', models.CharField(max_length=16)),
                ('cover_url', models.TextField()),
                ('tags', models.TextField()),
                ('publisher', models.TextField()),
                ('year', models.IntegerField(null=True)),
                ('author', models.TextField()),
                ('title', models.TextField()),
                ('size', models.BigIntegerField()),
                ('torrent_info', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='bibliotik_torrent', to='torrents.TorrentInfo')),
            ],
        ),
    ]
# Generated by Django 2.1.7 on 2019-03-22 10:30