Files
sarlink-portal-api/api/migrations/0018_user_agreement.py
i701 9e4449d0d6
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m2s
feat(agreement): add agreement field to user model and implement agreement upload functionality
2025-07-25 00:01:56 +05:00

23 lines
569 B
Python

# Generated by Django 5.2 on 2025-07-24 18:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("api", "0017_alter_temporaryuser_t_id_card_and_more"),
]
operations = [
migrations.AddField(
model_name="user",
name="agreement",
field=models.FileField(
blank=True,
help_text="Upload the agreement file signed by the user.",
null=True,
upload_to="agreements/",
),
),
]