Add history + more components
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Generated by Django 5.1.1 on 2024-10-01 13:41
|
||||
# Generated by Django 5.1.1 on 2024-10-01 14:14
|
||||
|
||||
import django.db.models.deletion
|
||||
import simple_history.models
|
||||
@@ -26,7 +26,7 @@ class Migration(migrations.Migration):
|
||||
("last_modified_at", models.DateTimeField(blank=True, editable=False)),
|
||||
("public_key", models.TextField(max_length=2048, null=True)),
|
||||
("private_key", models.TextField(max_length=2048, null=True)),
|
||||
("history_id", models.AutoField(primary_key=True, serialize=False)),
|
||||
("history_id", models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
||||
("history_date", models.DateTimeField(db_index=True)),
|
||||
("history_change_reason", models.CharField(max_length=100, null=True)),
|
||||
("history_type", models.CharField(choices=[("+", "Created"), ("~", "Changed"), ("-", "Deleted")], max_length=1)),
|
||||
|
||||
Reference in New Issue
Block a user