2023-12-11 21:18:33 +00:00
|
|
|
# Generated by Django 4.2.7 on 2023-12-09 02:13
|
2023-11-23 22:17:20 +00:00
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
dependencies = [
|
2023-12-11 21:18:33 +00:00
|
|
|
('inventory', '0001_initial'),
|
2023-11-23 22:17:20 +00:00
|
|
|
('tickets', '0001_initial'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='EventAddress',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(primary_key=True, serialize=False)),
|
|
|
|
('address', models.CharField(max_length=255)),
|
|
|
|
('event', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='inventory.event')),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='Email',
|
|
|
|
fields=[
|
|
|
|
('is_deleted', models.BooleanField(default=False)),
|
|
|
|
('deleted_at', models.DateTimeField(blank=True, null=True)),
|
|
|
|
('id', models.AutoField(primary_key=True, serialize=False)),
|
|
|
|
('timestamp', models.DateTimeField(auto_now_add=True)),
|
|
|
|
('body', models.TextField()),
|
|
|
|
('subject', models.CharField(max_length=255)),
|
|
|
|
('sender', models.CharField(max_length=255)),
|
|
|
|
('recipient', models.CharField(max_length=255)),
|
|
|
|
('reference', models.CharField(max_length=255, null=True, unique=True)),
|
|
|
|
('in_reply_to', models.CharField(max_length=255, null=True)),
|
|
|
|
('raw', models.TextField()),
|
|
|
|
('event', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='inventory.event')),
|
|
|
|
('issue_thread', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='emails', to='tickets.issuethread')),
|
|
|
|
],
|
|
|
|
options={
|
|
|
|
'abstract': False,
|
|
|
|
},
|
|
|
|
),
|
|
|
|
]
|