mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2025-05-17 03:48:13 +08:00
Add consumables and additional members field to transaction
This commit is contained in:
parent
1757538db1
commit
004896cb26
10 changed files with 12 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
|||
# Generated by Django 4.2.7 on 2023-12-29 10:09
|
||||
# Generated by Django 4.2.7 on 2024-01-05 10:26
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
|
@ -11,8 +11,8 @@ class Migration(migrations.Migration):
|
|||
initial = True
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
('equipments', '0001_initial'),
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
@ -21,6 +21,8 @@ class Migration(migrations.Migration):
|
|||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('remarks', models.TextField(max_length=512, null=True)),
|
||||
('additional_members', models.TextField(max_length=512, null=True)),
|
||||
('consumables', models.TextField(max_length=512, null=True)),
|
||||
('transaction_status', models.CharField(choices=[('Pending Approval', 'Pending Approval'), ('Approved', 'Approved'), ('Rejected', 'Rejected'), ('Cancelled', 'Cancelled'), ('Borrowed', 'Borrowed'), ('Returned: Pending Checking', 'Returned: Pending Checking'), ('With Breakages: Pending Resolution', 'With Breakages: Pending Resolution'), ('Finalized', 'Finalized')], default='Pending', max_length=40)),
|
||||
('subject', models.TextField(max_length=128)),
|
||||
('timestamp', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue