Skip to content

Commit

Permalink
apps/moderatorfeedback: add migrations for commentstatement rename to…
Browse files Browse the repository at this point in the history
… commentfeedback
  • Loading branch information
philli-m committed Jun 22, 2023
1 parent 90fd6ab commit 1ec05fc
Showing 1 changed file with 37 additions and 0 deletions.
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",
),
),
]

0 comments on commit 1ec05fc

Please sign in to comment.