From 2f78bd648076c114582d587e8cb830e99190d8b4 Mon Sep 17 00:00:00 2001 From: Anton M Date: Sat, 11 Jan 2025 17:02:50 +0100 Subject: [PATCH] fix migrations --- validity/migrations/0012_backuppoint.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/validity/migrations/0012_backuppoint.py b/validity/migrations/0012_backuppoint.py index 82f4ed1..b091e66 100644 --- a/validity/migrations/0012_backuppoint.py +++ b/validity/migrations/0012_backuppoint.py @@ -1,4 +1,4 @@ -# Generated by Django 5.0.10 on 2025-01-03 01:07 +# Generated by Django 5.0.10 on 2025-01-11 16:01 import django.core.validators import django.db.models.deletion @@ -24,7 +24,7 @@ class Migration(migrations.Migration): ('last_updated', models.DateTimeField(auto_now=True, null=True)), ('custom_field_data', models.JSONField(blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder)), ('name', models.CharField(max_length=255, unique=True)), - ('backup_after_sync', models.BooleanField()), + ('backup_after_sync', models.BooleanField(default=True)), ('method', models.CharField(max_length=20)), ('url', models.CharField(max_length=255, validators=[django.core.validators.URLValidator(schemes=['http', 'https'])])), ('ignore_rules', models.TextField(blank=True)), @@ -39,6 +39,7 @@ class Migration(migrations.Migration): 'verbose_name': 'Backup Point', 'verbose_name_plural': 'Backup Points', 'ordering': ('name',), + 'permissions': [('backup', 'Can back up Data Source contents')], }, bases=(validity.models.base.SubformMixin, validity.models.base.URLMixin, models.Model), ),