# Generated by Django 4.1.7 on 2023-02-28 16:07

import django.core.files.storage
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Venue',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=64)),
                ('website', models.CharField(max_length=128)),
                ('phone_number', models.CharField(max_length=200)),
                ('address', models.CharField(max_length=64)),
                ('city', models.CharField(max_length=32)),
                ('state', models.CharField(max_length=16)),
                ('zip_code', models.CharField(max_length=16)),
            ],
        ),
        migrations.CreateModel(
            name='Event',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('show_title', models.CharField(max_length=128)),
                ('show_link', models.URLField()),
                ('guests', models.CharField(max_length=256)),
                ('show_date', models.DateTimeField()),
                ('flyer_img', models.ImageField(upload_to=django.core.files.storage.FileSystemStorage(location='/media/flyers'))),
                ('more_details', models.JSONField()),
                ('venue', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='events.venue')),
            ],
        ),
    ]
