# Generated by Django 5.2 on 2025-05-22 14:27

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("services", "0024_storageplan_storageplanprice"),
    ]

    operations = [
        migrations.AddField(
            model_name="computeplan",
            name="term",
            field=models.CharField(
                choices=[
                    ("MTH", "per Month (30d)"),
                    ("DAY", "per Day"),
                    ("HR", "per Hour"),
                    ("MIN", "per Minute"),
                ],
                default="MTH",
                max_length=3,
            ),
        ),
        migrations.AddField(
            model_name="storageplan",
            name="term",
            field=models.CharField(
                choices=[
                    ("MTH", "per Month (30d)"),
                    ("DAY", "per Day"),
                    ("HR", "per Hour"),
                    ("MIN", "per Minute"),
                ],
                default="MTH",
                max_length=3,
            ),
        ),
        migrations.AddField(
            model_name="storageplan",
            name="unit",
            field=models.CharField(
                choices=[("GIB", "GiB"), ("MIB", "MiB"), ("CPU", "vCPU")],
                default="GIB",
                max_length=3,
            ),
        ),
        migrations.AddField(
            model_name="vshnappcatprice",
            name="term",
            field=models.CharField(
                choices=[
                    ("MTH", "per Month (30d)"),
                    ("DAY", "per Day"),
                    ("HR", "per Hour"),
                    ("MIN", "per Minute"),
                ],
                default="MTH",
                max_length=3,
            ),
        ),
        migrations.AlterUniqueTogether(
            name="storageplan",
            unique_together={
                ("cloud_provider", "term", "unit", "valid_from", "valid_to")
            },
        ),
    ]
