mirror of
https://github.com/eduardogsilva/routerfleet.git
synced 2025-06-26 19:58:33 +02:00
Backup models implementation
This commit is contained in:
parent
a8952676d7
commit
15fdbe00fa
12 changed files with 183 additions and 1 deletions
20
router_manager/migrations/0009_router_backup_profile.py
Normal file
20
router_manager/migrations/0009_router_backup_profile.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Generated by Django 5.0.3 on 2024-03-17 13:41
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('backup', '0001_initial'),
|
||||
('router_manager', '0008_routerstatus_last_backup_failed_backupschedule'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='router',
|
||||
name='backup_profile',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='backup.backupprofile'),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue