Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a migration for attachments #1081

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

PavloButynets
Copy link
Contributor

Added the resourceType field to documents in the attachments collection where it did not exist.
Removed the availability field from the attachments collection.
Changed the resourceType value from attachments to attachment according to the values ​​in RESOURCES_TYPES_ENUM

Before
image

After
image

… field, added tests to verify the correctness of this migration
@PavloButynets PavloButynets requested a review from luiqor January 1, 2025 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(SP:) Migration Task: Remove Fields from Attachments
3 participants