Added Repository Quota setting
This commit is contained in:
parent
755e313c61
commit
3a4f5a0394
10 changed files with 102 additions and 2 deletions
|
|
@ -0,0 +1,23 @@
|
|||
# Generated by Django 6.0.3 on 2026-04-20 15:36
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("webui", "0005_alter_borgrepository_key"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="borgrepository",
|
||||
name="quota",
|
||||
field=models.IntegerField(default=500),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="borgrepository",
|
||||
name="used_quota",
|
||||
field=models.IntegerField(default=0),
|
||||
),
|
||||
]
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 6.0.3 on 2026-04-20 17:02
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("webui", "0006_borgrepository_quota_borgrepository_used_quota"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="borgrepository",
|
||||
name="used_quota",
|
||||
field=models.IntegerField(default=-1),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue