# Generated by Django 3.1.6 on 2021-03-15 16:14

import datetime
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import upload.models
import upload.validators


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('upload', '0015_auto_20210315_1745'),
    ]

    operations = [
        migrations.CreateModel(
            name='Videos',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('video', models.FileField(upload_to=upload.models.videosPath, validators=[upload.validators.videoValidate])),
                ('tokenized', models.BooleanField(blank=True, default=None, max_length=3, null=True)),
                ('reason', models.CharField(max_length=120)),
                ('date', models.DateField(default=datetime.date.today)),
                ('time', models.TimeField(auto_now=True)),
                ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'verbose_name': 'video',
                'verbose_name_plural': 'videos',
            },
        ),
    ]
