feat: 批注 + 评分功能
This commit is contained in:
18
backend/diary/migrations/0006_comment_score.py
Normal file
18
backend/diary/migrations/0006_comment_score.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.2.11 on 2026-04-14 11:54
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('diary', '0005_comment'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='comment',
|
||||
name='score',
|
||||
field=models.IntegerField(blank=True, help_text='1-10 分', null=True, verbose_name='评分'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user