mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2024-11-17 06:19:26 +08:00
28 lines
970 B
Python
28 lines
970 B
Python
# Generated by Django 4.2.7 on 2023-12-29 10:09
|
|
|
|
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'),
|
|
('transactions', '0001_initial'),
|
|
]
|
|
|
|
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')),
|
|
],
|
|
),
|
|
]
|