feat: add profile api
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.2.14 on 2026-06-08 08:47
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('user', '0004_institution_code_unique'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='institution',
|
||||
name='banner_url',
|
||||
field=models.CharField(blank=True, help_text='机构专属图片:可为静态相对路径(如 institutions/xxx.png)或完整 http(s) URL', max_length=500, verbose_name='机构Banner图'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='practice_years',
|
||||
field=models.CharField(blank=True, max_length=20, verbose_name='执业年限'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user