mirror of
https://github.com/deunix-educ/Fail2banMqttActionBanishment.git
synced 2026-08-24 03:11:58 +02:00
29 lines
1.0 KiB
Python
29 lines
1.0 KiB
Python
# Generated by Django 6.0.7 on 2026-07-18 17:21
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('banevents', '0006_jointoken'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='EnrollmentRequest',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('email', models.EmailField(max_length=254)),
|
|
('node_name', models.CharField(max_length=64)),
|
|
('message', models.TextField(blank=True)),
|
|
('status', models.CharField(choices=[('pending', 'En attente'), ('approved', 'Approuvée'), ('rejected', 'Rejetée')], default='pending', max_length=16)),
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
|
('processed_at', models.DateTimeField(blank=True, null=True)),
|
|
],
|
|
options={
|
|
'ordering': ['-created_at'],
|
|
},
|
|
),
|
|
]
|