You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
padelclub_backend/tournaments/migrations/0080_modellog.py

24 lines
720 B

# Generated by Django 5.1 on 2024-09-12 13:49
import uuid
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('tournaments', '0079_alter_event_creator'),
]
operations = [
migrations.CreateModel(
name='ModelLog',
fields=[
('id', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)),
('model_id', models.UUIDField()),
('operation', models.IntegerField(choices=[(0, 'POST'), (1, 'PUT'), (2, 'DELETE')])),
('date', models.DateTimeField()),
('model_name', models.CharField(max_length=50)),
],
),
]