# Generated by Django 5.2.8 on 2025-11-27 04:43

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='TierLimit',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('tier', models.CharField(choices=[('FREE', 'Free Trial'), ('STARTER', 'Starter'), ('PROFESSIONAL', 'Professional'), ('ENTERPRISE', 'Enterprise')], max_length=50)),
                ('feature_code', models.CharField(help_text="Feature code (e.g., 'MAX_RESOURCES', 'MAX_USERS')", max_length=100)),
                ('limit', models.IntegerField(default=0, help_text='Maximum allowed count for this feature')),
            ],
            options={
                'ordering': ['tier', 'feature_code'],
                'unique_together': {('tier', 'feature_code')},
            },
        ),
    ]
