28 lines
828 B
Python
28 lines
828 B
Python
# Generated by Django 5.0.7 on 2024-07-19 08:31
|
|
|
|
import uuid
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Hit',
|
|
fields=[
|
|
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
('path', models.CharField(max_length=255)),
|
|
('parameters', models.JSONField(default=dict)),
|
|
('session_id', models.CharField(max_length=255)),
|
|
('ip_address', models.GenericIPAddressField()),
|
|
('user_agent', models.CharField(max_length=255)),
|
|
('date_created', models.DateTimeField(auto_now_add=True)),
|
|
],
|
|
),
|
|
]
|