portier/source/config/migrations/0003_pull.py

29 lines
1.0 KiB
Python
Raw Permalink Normal View History

2024-04-01 16:27:31 +02:00
# Generated by Django 5.0.2 on 2024-04-01 08:08
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('config', '0002_srsnode_srsstreaminstance'),
]
operations = [
migrations.CreateModel(
name='Pull',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('source', models.CharField(help_text='pull_source_help', max_length=500)),
('active', models.BooleanField(help_text='pull_activate_help')),
('name', models.CharField(help_text='pull_name_help', max_length=100)),
('stream', models.ForeignKey(help_text='pull_stream_help', on_delete=django.db.models.deletion.CASCADE, to='config.stream')),
],
options={
'verbose_name': 'pull_verbose_name',
'verbose_name_plural': 'pull_verbose_name_plural',
},
),
]