Add support for inbound hop nodes

This commit is contained in:
Seth Foster
2023-10-03 14:32:39 -04:00
committed by Seth Foster
parent 2fa5116197
commit d54c5934ff
8 changed files with 123 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# Generated by Django 4.2.5 on 2023-10-03 18:31
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('main', '0187_hop_nodes'),
]
operations = [
migrations.CreateModel(
name='ReceptorAddress',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('address', models.CharField(max_length=255)),
('port', models.IntegerField(null=True)),
('protocol', models.CharField(max_length=10)),
('websocket_path', models.CharField(blank=True, default='', max_length=255)),
('is_internal', models.BooleanField(default=False)),
('instance', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='receptor_addresses', to='main.instance')),
],
),
]