# Generated by Django 3.1.4 on 2021-01-17 19:12

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Organization',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=25, null=True)),
                ('balance', models.FloatField()),
                ('total', models.FloatField()),
            ],
        ),
        migrations.CreateModel(
            name='Hunter',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50, null=True)),
                ('image', models.ImageField(blank=True, null=True, upload_to='')),
                ('user', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='Bounty',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=25, null=True)),
                ('image', models.ImageField(blank=True, null=True, upload_to='')),
                ('price', models.FloatField()),
                ('city', models.CharField(max_length=25, null=True)),
                ('hunter', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='bounties.hunter')),
            ],
        ),
    ]

[((247, 304), 'django.db.migrations.swappable_dependency', 'migrations.swappable_dependency', (['settings.AUTH_USER_MODEL'], {}), '(settings.AUTH_USER_MODEL)\n', (278, 304), False, 'from django.db import migrations, models\n'), ((441, 534), 'django.db.models.AutoField', 'models.AutoField', ([], {'auto_created': '(True)', 'primary_key': '(True)', 'serialize': '(False)', 'verbose_name': '"""ID"""'}), "(auto_created=True, primary_key=True, serialize=False,\n    verbose_name='ID')\n", (457, 534), False, 'from django.db import migrations, models\n'), ((558, 600), 'django.db.models.CharField', 'models.CharField', ([], {'max_length': '(25)', 'null': '(True)'}), '(max_length=25, null=True)\n', (574, 600), False, 'from django.db import migrations, models\n'), ((631, 650), 'django.db.models.FloatField', 'models.FloatField', ([], {}), '()\n', (648, 650), False, 'from django.db import migrations, models\n'), ((679, 698), 'django.db.models.FloatField', 'models.FloatField', ([], {}), '()\n', (696, 698), False, 'from django.db import migrations, models\n'), ((830, 923), 'django.db.models.AutoField', 'models.AutoField', ([], {'auto_created': '(True)', 'primary_key': '(True)', 'serialize': '(False)', 'verbose_name': '"""ID"""'}), "(auto_created=True, primary_key=True, serialize=False,\n    verbose_name='ID')\n", (846, 923), False, 'from django.db import migrations, models\n'), ((947, 989), 'django.db.models.CharField', 'models.CharField', ([], {'max_length': '(50)', 'null': '(True)'}), '(max_length=50, null=True)\n', (963, 989), False, 'from django.db import migrations, models\n'), ((1018, 1072), 'django.db.models.ImageField', 'models.ImageField', ([], {'blank': '(True)', 'null': '(True)', 'upload_to': '""""""'}), "(blank=True, null=True, upload_to='')\n", (1035, 1072), False, 'from django.db import migrations, models\n'), ((1100, 1222), 'django.db.models.OneToOneField', 'models.OneToOneField', ([], {'blank': '(True)', 'null': '(True)', 'on_delete': 'django.db.models.deletion.CASCADE', 'to': 'settings.AUTH_USER_MODEL'}), '(blank=True, null=True, on_delete=django.db.models.\n    deletion.CASCADE, to=settings.AUTH_USER_MODEL)\n', (1120, 1222), False, 'from django.db import migrations, models\n'), ((1349, 1442), 'django.db.models.AutoField', 'models.AutoField', ([], {'auto_created': '(True)', 'primary_key': '(True)', 'serialize': '(False)', 'verbose_name': '"""ID"""'}), "(auto_created=True, primary_key=True, serialize=False,\n    verbose_name='ID')\n", (1365, 1442), False, 'from django.db import migrations, models\n'), ((1466, 1508), 'django.db.models.CharField', 'models.CharField', ([], {'max_length': '(25)', 'null': '(True)'}), '(max_length=25, null=True)\n', (1482, 1508), False, 'from django.db import migrations, models\n'), ((1537, 1591), 'django.db.models.ImageField', 'models.ImageField', ([], {'blank': '(True)', 'null': '(True)', 'upload_to': '""""""'}), "(blank=True, null=True, upload_to='')\n", (1554, 1591), False, 'from django.db import migrations, models\n'), ((1620, 1639), 'django.db.models.FloatField', 'models.FloatField', ([], {}), '()\n', (1637, 1639), False, 'from django.db import migrations, models\n'), ((1667, 1709), 'django.db.models.CharField', 'models.CharField', ([], {'max_length': '(25)', 'null': '(True)'}), '(max_length=25, null=True)\n', (1683, 1709), False, 'from django.db import migrations, models\n'), ((1739, 1852), 'django.db.models.ForeignKey', 'models.ForeignKey', ([], {'blank': '(True)', 'null': '(True)', 'on_delete': 'django.db.models.deletion.SET_NULL', 'to': '"""bounties.hunter"""'}), "(blank=True, null=True, on_delete=django.db.models.\n    deletion.SET_NULL, to='bounties.hunter')\n", (1756, 1852), False, 'from django.db import migrations, models\n')]