Initial commit - clean project structure
This commit is contained in:
30
statuslog/migrations/0001_initial.py
Normal file
30
statuslog/migrations/0001_initial.py
Normal file
@@ -0,0 +1,30 @@
|
||||
# Generated by Django 6.1 on 2026-08-18 02:26
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='StatusChangeLog',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('label', models.CharField(db_index=True, max_length=50)),
|
||||
('object_id', models.IntegerField(db_index=True)),
|
||||
('old_status', models.CharField(blank=True, max_length=30)),
|
||||
('new_status', models.CharField(max_length=30)),
|
||||
('event', models.CharField(max_length=50)),
|
||||
('user_id', models.IntegerField(blank=True, db_index=True, null=True)),
|
||||
('created_at', models.DateTimeField(auto_now_add=True)),
|
||||
],
|
||||
options={
|
||||
'ordering': ['-created_at'],
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user