-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #401 from sparcs-kaist/refactor/model-fields
Refactor model fields
- Loading branch information
Showing
5 changed files
with
100 additions
and
15 deletions.
There are no files selected for viewing
83 changes: 83 additions & 0 deletions
83
apps/core/migrations/0056_alter_article_comment_count_alter_article_hit_count_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Generated by Django 4.2.3 on 2023-07-31 12:00 | ||
|
||
import apps.core.models.board | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("core", "0055_remove_board_group_id_board_group"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="article", | ||
name="comment_count", | ||
field=models.PositiveIntegerField(default=0, verbose_name="댓글 수"), | ||
), | ||
migrations.AlterField( | ||
model_name="article", | ||
name="hit_count", | ||
field=models.PositiveIntegerField(default=0, verbose_name="조회수"), | ||
), | ||
migrations.AlterField( | ||
model_name="article", | ||
name="migrated_hit_count", | ||
field=models.PositiveIntegerField(default=0, verbose_name="이전된 조회수"), | ||
), | ||
migrations.AlterField( | ||
model_name="article", | ||
name="migrated_negative_vote_count", | ||
field=models.PositiveIntegerField(default=0, verbose_name="이전된 싫어요 수"), | ||
), | ||
migrations.AlterField( | ||
model_name="article", | ||
name="migrated_positive_vote_count", | ||
field=models.PositiveIntegerField(default=0, verbose_name="이전된 좋아요 수"), | ||
), | ||
migrations.AlterField( | ||
model_name="article", | ||
name="name_type", | ||
field=models.PositiveSmallIntegerField( | ||
default=apps.core.models.board.NameType["REGULAR"], | ||
verbose_name="익명 혹은 실명 여부", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="article", | ||
name="negative_vote_count", | ||
field=models.PositiveIntegerField(default=0, verbose_name="싫어요 수"), | ||
), | ||
migrations.AlterField( | ||
model_name="article", | ||
name="positive_vote_count", | ||
field=models.PositiveIntegerField(default=0, verbose_name="좋아요 수"), | ||
), | ||
migrations.AlterField( | ||
model_name="article", | ||
name="report_count", | ||
field=models.PositiveIntegerField(default=0, verbose_name="신고 수"), | ||
), | ||
migrations.AlterField( | ||
model_name="board", | ||
name="top_threshold", | ||
field=models.PositiveSmallIntegerField( | ||
default=10, verbose_name="인기글 달성 기준 좋아요 개수" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="comment", | ||
name="negative_vote_count", | ||
field=models.PositiveIntegerField(default=0, verbose_name="싫어요 수"), | ||
), | ||
migrations.AlterField( | ||
model_name="comment", | ||
name="positive_vote_count", | ||
field=models.PositiveIntegerField(default=0, verbose_name="좋아요 수"), | ||
), | ||
migrations.AlterField( | ||
model_name="comment", | ||
name="report_count", | ||
field=models.PositiveIntegerField(default=0, verbose_name="신고 수"), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters