# Generated by Django 4.2.14 on 2025-01-30 11:24

import django.contrib.postgres.fields
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('base', '0010_expression_relativetime'),
        ('endpoints', '0002_alter_endpointreference_endpoint'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='endpoint',
            name='environmental_type',
        ),
        migrations.RemoveField(
            model_name='endpoint',
            name='public_key',
        ),
        migrations.AddField(
            model_name='endpoint',
            name='description',
            field=models.TextField(null=True),
        ),
        migrations.CreateModel(
            name='EndpointPayload',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('mime_type', django.contrib.postgres.fields.ArrayField(base_field=models.CharField(max_length=255), null=True, size=None)),
                ('profile_uri', models.CharField(max_length=255, null=True)),
                ('type', models.ManyToManyField(blank=True, related_name='endpoint_payload_type', to='base.codeableconcept')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AlterField(
            model_name='endpoint',
            name='payload',
            field=models.ManyToManyField(blank=True, related_name='endpoint_payload', to='endpoints.endpointpayload'),
        ),
    ]
