bb-plane-fork/apps/api/plane/db/management/commands
Sangeetha 5cfb9538df
[WEB-5312] migration: work item comments (#8072)
* migration: description field on issue_comment
sync: issue_comment and description

* fix: update if description already exists for the IssueComment

* feat: management command to copy IssueComment to Description

* fix: description creation order

* chore: add while loop

* fix: move write outside loop

* chore: change sync logic
chore: test cases

* chore: removed deleted_at filter and added order_by in management command

* fix: description_id

* migration: added parent_id for IssueComment

* fix: update update_by_id

* fix: use ChangeTrackerMixin in save

* chore: add docstring
fix: remove self.pk check
chore: wrap the description creation logic in transaction.atomic()

* fix: tests

* fix: use super save method

* fix: mulitple if conditions

* fix: update updated_at
2025-11-21 16:15:07 +05:30
..
__init__.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
activate_user.py Add codespell support (config, workflow to detect/not fix) and make it fix some typos (#7864) 2025-10-07 17:42:49 +05:30
clear_cache.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
copy_issue_comment_to_description.py [WEB-5312] migration: work item comments (#8072) 2025-11-21 16:15:07 +05:30
create_bucket.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
create_dummy_data.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
create_instance_admin.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
create_project_member.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
fix_duplicate_sequences.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
reset_password.py Add codespell support (config, workflow to detect/not fix) and make it fix some typos (#7864) 2025-10-07 17:42:49 +05:30
sync_issue_description_version.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
sync_issue_version.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
test_email.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
update_bucket.py Add codespell support (config, workflow to detect/not fix) and make it fix some typos (#7864) 2025-10-07 17:42:49 +05:30
update_deleted_workspace_slug.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
wait_for_db.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
wait_for_migrations.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30