# Generated by Django 4.2.29 on 2026-04-02 11:08

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Notification',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('type', models.CharField(choices=[('lead_created', 'Lead Created'), ('lead_updated', 'Lead Updated'), ('approval_action', 'Approval Action'), ('task_assigned', 'Task Assigned'), ('task_due', 'Task Due Soon'), ('mention', '@Mention'), ('comment', 'New Comment'), ('invoice', 'Invoice Update'), ('project_stage', 'Project Stage Changed'), ('meeting', 'New Meeting'), ('expense', 'Expense Update'), ('general', 'General')], default='general', max_length=20)),
                ('title', models.CharField(max_length=255)),
                ('message', models.TextField()),
                ('link', models.CharField(blank=True, help_text='Relative path to navigate', max_length=500)),
                ('is_read', models.BooleanField(default=False)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
            ],
            options={
                'ordering': ['-created_at'],
            },
        ),
    ]
