44 lines
1.5 KiB
Python
44 lines
1.5 KiB
Python
# Generated by Django 4.2.7 on 2023-12-06 02:34
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='IssueThread',
|
|
fields=[
|
|
('is_deleted', models.BooleanField(default=False)),
|
|
('deleted_at', models.DateTimeField(blank=True, null=True)),
|
|
('id', models.AutoField(primary_key=True, serialize=False)),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
),
|
|
migrations.CreateModel(
|
|
name='StateChange',
|
|
fields=[
|
|
('id', models.AutoField(primary_key=True, serialize=False)),
|
|
('state', models.CharField(max_length=255)),
|
|
('timestamp', models.DateTimeField(auto_now_add=True)),
|
|
('issue_thread', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='tickets.issuethread')),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='Comment',
|
|
fields=[
|
|
('id', models.AutoField(primary_key=True, serialize=False)),
|
|
('comment', models.TextField()),
|
|
('timestamp', models.DateTimeField(auto_now_add=True)),
|
|
('issue_thread', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='tickets.issuethread')),
|
|
],
|
|
),
|
|
]
|