Notifications
Clear all
Topic starter
A developer wants to rename a column in a custom module, so both columns were added to db Which additional action, if any. is needed to migrate data between the two columns?
- A . No additional action will be needed since the data is migrated automatically.
B. Add onCreate="migrateDataFrom(old_column_name)" in the column definition in db_schema.xml.
C. Add 'old’ attribute with the previous name of the column in the db_schema.xml.
Suggested Answer: B
Posted : 26/01/2023 6:43 am