30 lines
877 B
Python
30 lines
877 B
Python
# Generated by Django 5.1.1 on 2026-09-05 07:03
|
|
|
|
import django.db.models.deletion
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('attachments', '0001_initial'),
|
|
('messaging', '0001_initial'),
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='attachment',
|
|
name='message',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='attachments', to='messaging.message'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='attachment',
|
|
name='uploaded_by',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL),
|
|
),
|
|
]
|