mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-06-26 15:17:29 +00:00
Refactor User model: update mobile field to allow null values, enforce unique id_card, and implement user filtering API endpoint
This commit is contained in:
17
api/migrations/0009_alter_user_mobile.py
Normal file
17
api/migrations/0009_alter_user_mobile.py
Normal file
@ -0,0 +1,17 @@
|
||||
# Generated by Django 5.1.2 on 2025-03-24 10:36
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("api", "0008_alter_user_mobile"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="user",
|
||||
name="mobile",
|
||||
field=models.CharField(blank=True, max_length=255, unique=True),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user