23 lines
739 B
Python
23 lines
739 B
Python
# Generated by Django 4.1.3 on 2023-11-20 10:47
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('data_api', '0007_standardslist_standardcolor'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='FileEvent',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('event_type', models.CharField(choices=[('UPLOAD', 'File Uploaded'), ('DELETE', 'File Deleted')], max_length=10)),
|
|
('file_name', models.CharField(max_length=255)),
|
|
('timestamp', models.DateTimeField(auto_now_add=True)),
|
|
],
|
|
),
|
|
]
|