mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2025-05-17 03:48:13 +08:00
Make remarks and description optional and nullable and add category field to equipment instance serializers
This commit is contained in:
parent
4a6bd1ef35
commit
b707199bc0
3 changed files with 51 additions and 11 deletions
|
@ -0,0 +1,33 @@
|
|||
# Generated by Django 4.2.7 on 2023-12-02 13:15
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('equipments', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='equipment',
|
||||
name='description',
|
||||
field=models.TextField(max_length=512, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='equipmentinstance',
|
||||
name='remarks',
|
||||
field=models.TextField(max_length=512, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='historicalequipment',
|
||||
name='description',
|
||||
field=models.TextField(max_length=512, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='historicalequipmentinstance',
|
||||
name='remarks',
|
||||
field=models.TextField(max_length=512, null=True),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue