added missing migrations

This commit is contained in:
Johannes Erwerle 2026-04-06 21:51:25 +02:00
parent b3e6644d0b
commit ddc473cac2

View file

@ -0,0 +1,39 @@
# Generated by Django 6.0.3 on 2026-04-06 19:51
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("webui", "0003_voucher"),
]
operations = [
migrations.AlterField(
model_name="borgrepository",
name="key",
field=models.TextField(
validators=[
django.core.validators.RegexValidator(
"(ssh\\-rsa|ecdsa\\-sha2\\-nistp256|ssh\\-ed25519) ([a-zA-Z0-9\\+/=]+) (\\S*)",
message="not a valid SSH public key.",
)
]
),
),
migrations.AlterField(
model_name="borgrepository",
name="name",
field=models.CharField(
max_length=100,
validators=[
django.core.validators.RegexValidator(
"[a-zA-Z0-9\\-_]+",
message="Only a-z, A-Z, 0-9, - and _ are allowed.",
)
],
),
),
]