-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apps/moderatorfeedback: add migrations for commentstatement rename to…
… commentfeedback
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
.../moderatorfeedback/migrations/0007_rename_commentstatement_commentfeedback_alter_field.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,37 @@ | ||
# Generated by Django 3.2.19 on 2023-06-19 09:17 | ||
|
||
import ckeditor.fields | ||
from django.conf import settings | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import django.utils.timezone | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('a4comments', '0013_set_project'), | ||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), | ||
('a4_candy_moderatorfeedback', '0006_verbose_name_created_modified'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameModel( | ||
"ModeratorCommentStatement", | ||
"ModeratorCommentFeedback", | ||
), | ||
migrations.RenameField( | ||
model_name="moderatorcommentfeedback", | ||
old_name="statement", | ||
new_name="feedback_text", | ||
), | ||
migrations.AlterField( | ||
model_name="moderatorcommentfeedback", | ||
name="comment", | ||
field=models.OneToOneField( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="moderator_feedback", | ||
to="a4comments.comment", | ||
), | ||
), | ||
] |