fix: contracts table fix, document file added
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 5.2.4 on 2025-08-08 05:02
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("contracts", "0001_initial"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="contractmodel",
|
||||
name="document_url",
|
||||
field=models.FileField(default=1, max_length=2048, upload_to="", verbose_name="Document"),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2.4 on 2025-08-08 05:17
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("contracts", "0002_contractmodel_document_url"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name="contractmodel",
|
||||
old_name="document_url",
|
||||
new_name="document",
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user