initial commit
This commit is contained in:
commit
164fa61ad2
40 changed files with 1263 additions and 0 deletions
29
community_backup/webui/migrations/0003_voucher.py
Normal file
29
community_backup/webui/migrations/0003_voucher.py
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Generated by Django 6.0.3 on 2026-03-28 18:59
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("webui", "0002_alter_borgrepository_key_and_more"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name="Voucher",
|
||||
fields=[
|
||||
(
|
||||
"id",
|
||||
models.BigAutoField(
|
||||
auto_created=True,
|
||||
primary_key=True,
|
||||
serialize=False,
|
||||
verbose_name="ID",
|
||||
),
|
||||
),
|
||||
("used", models.BooleanField(default=False)),
|
||||
("code", models.CharField(max_length=100, unique=True)),
|
||||
],
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue