# Generated by Django 5.1.1 on 2024-10-07 07:07

import django.db.models.deletion
import django.utils.timezone
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('Accounts', '0003_userprofile_company_name'),
        ('Device', '0007_devices_mac_address_devices_unique_id'),
        ('otpverification', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='otpverification',
            name='created_at',
            field=models.DateTimeField(default=django.utils.timezone.now),
        ),
        migrations.AddField(
            model_name='otpverification',
            name='is_valid',
            field=models.BooleanField(default=True),
        ),
        migrations.CreateModel(
            name='CheckDevice',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('registered_at', models.DateTimeField(auto_now_add=True)),
                ('device', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Device.devices')),
                ('user_profile', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Accounts.userprofile')),
            ],
        ),
    ]
