feat(agreement): add agreement field to user model and implement agreement upload functionality ✨
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# 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/",
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user