2024-01-05 19:33:25 +08:00
|
|
|
# Generated by Django 4.2.7 on 2024-01-05 10:26
|
2023-12-09 00:38:29 +08:00
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
import django.utils.timezone
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('equipments', '0001_initial'),
|
2023-12-29 18:38:59 +08:00
|
|
|
('transactions', '0001_initial'),
|
2023-12-09 00:38:29 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='BreakageReport',
|
|
|
|
fields=[
|
|
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
|
('resolved', models.BooleanField(default=False)),
|
|
|
|
('timestamp', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
|
|
|
|
('equipments', models.ManyToManyField(to='equipments.equipmentinstance')),
|
|
|
|
('transaction', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='transactions.transaction')),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|