You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
27 lines
880 B
27 lines
880 B
# Generated by Django 5.2.1 on 2025-05-11 16:40 |
|
|
|
import uuid |
|
from django.db import migrations, models |
|
|
|
|
|
class Migration(migrations.Migration): |
|
|
|
initial = True |
|
|
|
dependencies = [ |
|
] |
|
|
|
operations = [ |
|
migrations.CreateModel( |
|
name='MasterKey', |
|
fields=[ |
|
('key_id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), |
|
('key_value', models.CharField(max_length=255, unique=True)), |
|
('description', models.CharField(blank=True, max_length=255)), |
|
('created_at', models.DateTimeField(auto_now_add=True)), |
|
('last_used', models.DateTimeField(blank=True, null=True)), |
|
('is_active', models.BooleanField(default=True)), |
|
('permissions', models.JSONField(default=list)), |
|
], |
|
), |
|
]
|
|
|