mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-11-22 12:53:15 +01:00
Rework cluster into v2: section-based worker sync and App Gateway on workers
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# Generated by Django 5.2.19 on 2026-11-19 16:17
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app_gateway', '0012_certificate_type_labels'),
|
||||
('cluster', '0018_cluster_v2'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='application',
|
||||
name='all_workers',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='application',
|
||||
name='serve_on_primary',
|
||||
field=models.BooleanField(default=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='application',
|
||||
name='workers',
|
||||
field=models.ManyToManyField(blank=True, related_name='applications', to='cluster.worker'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user