# Generated by Django 4.1.7 on 2023-05-07 21:41

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('events', '0006_alter_event_event_type'),
    ]

    operations = [
        migrations.AlterField(
            model_name='event',
            name='event_type',
            field=models.CharField(choices=[('Mu', 'Music'), ('Ot', 'Other'), ('Va', 'Visual Art'), ('Gv', 'Government'), ('Ce', 'Civic Engagement'), ('Ed', 'Educational'), ('Co', 'Comedy'), ('Ma', 'Mutual Aid'), ('Th', 'Theater')], default='0', max_length=16),
        ),
        migrations.CreateModel(
            name='UserThrottle',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('scope', models.CharField(choices=[('admin', 'Admin'), ('platinum', 'Platinum'), ('gold', 'Gold'), ('silver', 'Silver'), ('free', 'Free')], max_length=20)),
                ('calls', models.IntegerField(default=0)),
                ('limit', models.IntegerField(default=0)),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='UserScope',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('scope', models.CharField(choices=[('admin', 'Admin'), ('platinum', 'Platinum'), ('gold', 'Gold'), ('silver', 'Silver'), ('free', 'Free')], max_length=20)),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
