# Generated by Django 5.0.2 on 2024-02-29 17:26 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('config', '0001_initial'), ] operations = [ migrations.CreateModel( name='SRSNode', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(help_text='srsnode_name_help', max_length=100)), ('api_base', models.CharField(help_text='srsnode_api_base_help', max_length=256)), ('rtmp_base', models.CharField(help_text='srsnode_rtmp_base_help', max_length=256)), ('active', models.BooleanField(help_text='srsnode_active_help')), ], options={ 'verbose_name': 'srsnode_verbose_name', 'verbose_name_plural': 'srsnode_verbose_name_plural', }, ), migrations.CreateModel( name='SRSStreamInstance', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('last_update', models.DateTimeField(auto_now=True, help_text='srsstreaminstance_last_update_help')), ('statusdata', models.TextField(default='{}', help_text='srsstreaminstance_statusdata_help')), ('node', models.ForeignKey(help_text='srsstreaminstance_node_help', on_delete=django.db.models.deletion.CASCADE, to='config.srsnode')), ('stream', models.ForeignKey(help_text='srsstreaminstance_stream_help', on_delete=django.db.models.deletion.CASCADE, to='config.stream')), ], options={ 'verbose_name': 'srsstreaminstance_verbose_name', 'verbose_name_plural': 'srsstreaminstance_verbose_name_plural', }, ), ]