mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-10-06 07:57:35 +00:00
feat(agreement): add agreement field to user model and implement agreement upload functionality ✨
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m2s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m2s
This commit is contained in:
22
api/migrations/0018_user_agreement.py
Normal file
22
api/migrations/0018_user_agreement.py
Normal file
@@ -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