QuestionQ4
EAV/DatabaseIn a new module release, a developer chooses to rename a table that was defined in previous versions.
Which action, if any, enables the developer to avoid data loss?
- A Define onCreate=“migrateDataFromAnotherTable(old_table_name)” attribute in the table tag.
- B Declarative schema supports ‘RENAME TABLE’, so the data will be migrated to the new table automatically.
- C Define the table and columns mapping in the db_schema_whitelist.json.
Community Discussion