Writing migrations for the books that exist
migrate data after having book versions
-
Adding Version Field to Books -
For each row in, ncbi_notification_messages
anderrors
table, the value ofobject_id
will be updated.- In case the notification/error is for a whole book, it's going to be the
id
in thebooks
table - In case the notification/error is for a chapter-processed book, it's going to be
id
in thebook_component
table
- In case the notification/error is for a whole book, it's going to be the
-
Migration for FundedContentType field -
Migration to transform book_component_id
toobject_id
inchannels
table -
Migration to transform book_component_id
toobject_id
inissues
table -
Migration to transform book_component_version_id
toobject_id
inreviews
table