# Generated by Django 3.1.7 on 2021-03-05 19:53

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('builder', '0019_auto_20210306_0119'),
    ]

    operations = [
        migrations.CreateModel(
            name='a_fleet',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('fishName', models.CharField(max_length=100)),
                ('quantity', models.IntegerField()),
                ('type', models.CharField(max_length=20)),
                ('timestamp', models.DateTimeField()),
                ('lat', models.FloatField()),
                ('lon', models.FloatField()),
                ('company', models.CharField(max_length=50)),
                ('blockchain_addr', models.CharField(default='cc3624f5d01f865903a51bdae971281a7506694960611aec1ab2fc65fbbd95ea', max_length=32)),
            ],
        ),
        migrations.CreateModel(
            name='b_subfleet',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('quantity', models.IntegerField()),
                ('timestamp', models.DateTimeField()),
                ('fleetid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='builder.a_fleet')),
            ],
        ),
        migrations.CreateModel(
            name='c_wholesaler',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('quantity', models.IntegerField()),
                ('timestamp', models.DateTimeField()),
                ('subfleetid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='builder.b_subfleet')),
            ],
        ),
        migrations.CreateModel(
            name='d_retailer',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('quantity', models.IntegerField()),
                ('timestamp', models.DateTimeField()),
                ('wholesalerid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='builder.c_wholesaler')),
            ],
        ),
        migrations.CreateModel(
            name='e_consumer',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('quantity', models.IntegerField()),
                ('timestamp', models.DateTimeField()),
                ('retailerid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='builder.d_retailer')),
            ],
        ),
    ]

2d6664325b40e4ca7c59238902b4078ace6ebbf8
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [('builder', '0019_auto_20210306_0119')]
    operations = [migrations.CreateModel(name='a_fleet', fields=[('id',
        models.AutoField(primary_key=True, serialize=False)), ('fishName',
        models.CharField(max_length=100)), ('quantity', models.IntegerField
        ()), ('type', models.CharField(max_length=20)), ('timestamp',
        models.DateTimeField()), ('lat', models.FloatField()), ('lon',
        models.FloatField()), ('company', models.CharField(max_length=50)),
        ('blockchain_addr', models.CharField(default=
        'cc3624f5d01f865903a51bdae971281a7506694960611aec1ab2fc65fbbd95ea',
        max_length=32))]), migrations.CreateModel(name='b_subfleet', fields
        =[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('quantity', models.
        IntegerField()), ('timestamp', models.DateTimeField()), ('fleetid',
        models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'builder.a_fleet'))]), migrations.CreateModel(name='c_wholesaler',
        fields=[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('quantity', models.
        IntegerField()), ('timestamp', models.DateTimeField()), (
        'subfleetid', models.ForeignKey(on_delete=django.db.models.deletion
        .CASCADE, to='builder.b_subfleet'))]), migrations.CreateModel(name=
        'd_retailer', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), ('quantity',
        models.IntegerField()), ('timestamp', models.DateTimeField()), (
        'wholesalerid', models.ForeignKey(on_delete=django.db.models.
        deletion.CASCADE, to='builder.c_wholesaler'))]), migrations.
        CreateModel(name='e_consumer', fields=[('id', models.AutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('quantity', models.IntegerField()), ('timestamp', models.
        DateTimeField()), ('retailerid', models.ForeignKey(on_delete=django
        .db.models.deletion.CASCADE, to='builder.d_retailer'))])]

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


class Migration(migrations.Migration):
    initial = True
    dependencies = [('builder', '0019_auto_20210306_0119')]
    operations = [migrations.CreateModel(name='a_fleet', fields=[('id',
        models.AutoField(primary_key=True, serialize=False)), ('fishName',
        models.CharField(max_length=100)), ('quantity', models.IntegerField
        ()), ('type', models.CharField(max_length=20)), ('timestamp',
        models.DateTimeField()), ('lat', models.FloatField()), ('lon',
        models.FloatField()), ('company', models.CharField(max_length=50)),
        ('blockchain_addr', models.CharField(default=
        'cc3624f5d01f865903a51bdae971281a7506694960611aec1ab2fc65fbbd95ea',
        max_length=32))]), migrations.CreateModel(name='b_subfleet', fields
        =[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('quantity', models.
        IntegerField()), ('timestamp', models.DateTimeField()), ('fleetid',
        models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'builder.a_fleet'))]), migrations.CreateModel(name='c_wholesaler',
        fields=[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('quantity', models.
        IntegerField()), ('timestamp', models.DateTimeField()), (
        'subfleetid', models.ForeignKey(on_delete=django.db.models.deletion
        .CASCADE, to='builder.b_subfleet'))]), migrations.CreateModel(name=
        'd_retailer', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), ('quantity',
        models.IntegerField()), ('timestamp', models.DateTimeField()), (
        'wholesalerid', models.ForeignKey(on_delete=django.db.models.
        deletion.CASCADE, to='builder.c_wholesaler'))]), migrations.
        CreateModel(name='e_consumer', fields=[('id', models.AutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('quantity', models.IntegerField()), ('timestamp', models.
        DateTimeField()), ('retailerid', models.ForeignKey(on_delete=django
        .db.models.deletion.CASCADE, to='builder.d_retailer'))])]

# Generated by Django 3.1.7 on 2021-03-05 19:53

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('builder', '0019_auto_20210306_0119'),
    ]

    operations = [
        migrations.CreateModel(
            name='a_fleet',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('fishName', models.CharField(max_length=100)),
                ('quantity', models.IntegerField()),
                ('type', models.CharField(max_length=20)),
                ('timestamp', models.DateTimeField()),
                ('lat', models.FloatField()),
                ('lon', models.FloatField()),
                ('company', models.CharField(max_length=50)),
                ('blockchain_addr', models.CharField(default='cc3624f5d01f865903a51bdae971281a7506694960611aec1ab2fc65fbbd95ea', max_length=32)),
            ],
        ),
        migrations.CreateModel(
            name='b_subfleet',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('quantity', models.IntegerField()),
                ('timestamp', models.DateTimeField()),
                ('fleetid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='builder.a_fleet')),
            ],
        ),
        migrations.CreateModel(
            name='c_wholesaler',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('quantity', models.IntegerField()),
                ('timestamp', models.DateTimeField()),
                ('subfleetid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='builder.b_subfleet')),
            ],
        ),
        migrations.CreateModel(
            name='d_retailer',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('quantity', models.IntegerField()),
                ('timestamp', models.DateTimeField()),
                ('wholesalerid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='builder.c_wholesaler')),
            ],
        ),
        migrations.CreateModel(
            name='e_consumer',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('quantity', models.IntegerField()),
                ('timestamp', models.DateTimeField()),
                ('retailerid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='builder.d_retailer')),
            ],
        ),
    ]
