# Generated by Django 3.1.13 on 2022-01-26 06:47

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


class Migration(migrations.Migration):

    dependencies = [
        ('companies', '0052_auto_20220126_0413'),
    ]

    operations = [
        migrations.AlterField(
            model_name='payment',
            name='create_date',
            field=models.DateTimeField(blank=True, default=datetime.datetime(2022, 1, 26, 6, 47, 3, 61994, tzinfo=utc), null=True),
        ),
        migrations.AlterField(
            model_name='payment',
            name='modify_date',
            field=models.DateTimeField(blank=True, default=datetime.datetime(2022, 1, 26, 6, 47, 3, 62010, tzinfo=utc), null=True),
        ),
        migrations.CreateModel(
            name='Subscription',
            fields=[
                ('company', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='profile', serialize=False, to='companies.company')),
                ('due_date', models.DateField()),
                ('create_date', models.DateTimeField(blank=True, default=datetime.datetime(2022, 1, 26, 6, 47, 3, 62226, tzinfo=utc), null=True)),
                ('payment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='companies.payment')),
            ],
        ),
    ]
