# Generated by Django 3.1.2 on 2020-10-11 11:38

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


class Migration(migrations.Migration):

    dependencies = [
        ('auctions', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Listings',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(help_text='The title to be displayed for the listing', max_length=64)),
                ('description', models.CharField(help_text='Description about the product', max_length=2048)),
                ('starting_bid', models.DecimalField(decimal_places=2, help_text='The starting price you want for the product All prices are in USD!', max_digits=8)),
                ('image_url', models.CharField(blank=True, help_text='This is not necessary but if you want to please include an online url for it here!', max_length=2048)),
                ('category', models.CharField(blank=True, help_text='This is also not necessary but if you want toExamples of categories include Fashion, Toys etc', max_length=64)),
                ('closed', models.BooleanField(default=False)),
                ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='owned_listings', to=settings.AUTH_USER_MODEL)),
                ('watchlist_users', models.ManyToManyField(blank=True, related_name='watchlist_items', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='Comments',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('content', models.CharField(max_length=2048)),
                ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comments', to=settings.AUTH_USER_MODEL)),
                ('listing', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comments', to='auctions.listings')),
            ],
        ),
        migrations.CreateModel(
            name='Bids',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('value_offer', models.DecimalField(decimal_places=2, help_text='How much are you willing to pay forthis item?', max_digits=8)),
                ('listing', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='bids', to='auctions.listings')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='bids_made', to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]

69f00d2506a6162c7f806938ae84c81f600e83a0
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    dependencies = [('auctions', '0001_initial')]
    operations = [migrations.CreateModel(name='Listings', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('title', models.CharField(help_text=
        'The title to be displayed for the listing', max_length=64)), (
        'description', models.CharField(help_text=
        'Description about the product', max_length=2048)), ('starting_bid',
        models.DecimalField(decimal_places=2, help_text=
        'The starting price you want for the product All prices are in USD!',
        max_digits=8)), ('image_url', models.CharField(blank=True,
        help_text=
        'This is not necessary but if you want to please include an online url for it here!'
        , max_length=2048)), ('category', models.CharField(blank=True,
        help_text=
        'This is also not necessary but if you want toExamples of categories include Fashion, Toys etc'
        , max_length=64)), ('closed', models.BooleanField(default=False)),
        ('owner', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, related_name='owned_listings', to=settings.AUTH_USER_MODEL
        )), ('watchlist_users', models.ManyToManyField(blank=True,
        related_name='watchlist_items', to=settings.AUTH_USER_MODEL))]),
        migrations.CreateModel(name='Comments', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('content', models.CharField(max_length=2048)),
        ('author', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, related_name='comments', to=settings.AUTH_USER_MODEL)), (
        'listing', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, related_name='comments', to='auctions.listings'))]),
        migrations.CreateModel(name='Bids', fields=[('id', models.AutoField
        (auto_created=True, primary_key=True, serialize=False, verbose_name
        ='ID')), ('value_offer', models.DecimalField(decimal_places=2,
        help_text='How much are you willing to pay forthis item?',
        max_digits=8)), ('listing', models.ForeignKey(on_delete=django.db.
        models.deletion.CASCADE, related_name='bids', to=
        'auctions.listings')), ('user', models.ForeignKey(on_delete=django.
        db.models.deletion.CASCADE, related_name='bids_made', to=settings.
        AUTH_USER_MODEL))])]

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


class Migration(migrations.Migration):
    dependencies = [('auctions', '0001_initial')]
    operations = [migrations.CreateModel(name='Listings', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('title', models.CharField(help_text=
        'The title to be displayed for the listing', max_length=64)), (
        'description', models.CharField(help_text=
        'Description about the product', max_length=2048)), ('starting_bid',
        models.DecimalField(decimal_places=2, help_text=
        'The starting price you want for the product All prices are in USD!',
        max_digits=8)), ('image_url', models.CharField(blank=True,
        help_text=
        'This is not necessary but if you want to please include an online url for it here!'
        , max_length=2048)), ('category', models.CharField(blank=True,
        help_text=
        'This is also not necessary but if you want toExamples of categories include Fashion, Toys etc'
        , max_length=64)), ('closed', models.BooleanField(default=False)),
        ('owner', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, related_name='owned_listings', to=settings.AUTH_USER_MODEL
        )), ('watchlist_users', models.ManyToManyField(blank=True,
        related_name='watchlist_items', to=settings.AUTH_USER_MODEL))]),
        migrations.CreateModel(name='Comments', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('content', models.CharField(max_length=2048)),
        ('author', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, related_name='comments', to=settings.AUTH_USER_MODEL)), (
        'listing', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, related_name='comments', to='auctions.listings'))]),
        migrations.CreateModel(name='Bids', fields=[('id', models.AutoField
        (auto_created=True, primary_key=True, serialize=False, verbose_name
        ='ID')), ('value_offer', models.DecimalField(decimal_places=2,
        help_text='How much are you willing to pay forthis item?',
        max_digits=8)), ('listing', models.ForeignKey(on_delete=django.db.
        models.deletion.CASCADE, related_name='bids', to=
        'auctions.listings')), ('user', models.ForeignKey(on_delete=django.
        db.models.deletion.CASCADE, related_name='bids_made', to=settings.
        AUTH_USER_MODEL))])]

# Generated by Django 3.1.2 on 2020-10-11 11:38

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


class Migration(migrations.Migration):

    dependencies = [
        ('auctions', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Listings',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(help_text='The title to be displayed for the listing', max_length=64)),
                ('description', models.CharField(help_text='Description about the product', max_length=2048)),
                ('starting_bid', models.DecimalField(decimal_places=2, help_text='The starting price you want for the product All prices are in USD!', max_digits=8)),
                ('image_url', models.CharField(blank=True, help_text='This is not necessary but if you want to please include an online url for it here!', max_length=2048)),
                ('category', models.CharField(blank=True, help_text='This is also not necessary but if you want toExamples of categories include Fashion, Toys etc', max_length=64)),
                ('closed', models.BooleanField(default=False)),
                ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='owned_listings', to=settings.AUTH_USER_MODEL)),
                ('watchlist_users', models.ManyToManyField(blank=True, related_name='watchlist_items', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='Comments',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('content', models.CharField(max_length=2048)),
                ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comments', to=settings.AUTH_USER_MODEL)),
                ('listing', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comments', to='auctions.listings')),
            ],
        ),
        migrations.CreateModel(
            name='Bids',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('value_offer', models.DecimalField(decimal_places=2, help_text='How much are you willing to pay forthis item?', max_digits=8)),
                ('listing', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='bids', to='auctions.listings')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='bids_made', to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
