ExamGecko
Question list
Search
Search

Question 32 - AD0-E711 discussion

Report
Export

A developer defined a new table in db_schema.xml while creating a new module.

What should be done to allow the removal of columns from the database when deleting them from db_schema.xml?

A.
The columns should have "removable" attribute set to "true" in the db_schema.xml.
Answers
A.
The columns should have "removable" attribute set to "true" in the db_schema.xml.
B.
The removable columns should be defined In db_schema_whitelist.Json.
Answers
B.
The removable columns should be defined In db_schema_whitelist.Json.
C.
The removable columns should be defined in db_schema_blacklist Json.
Answers
C.
The removable columns should be defined in db_schema_blacklist Json.
Suggested answer: B

Explanation:

To allow the removal of columns from the database when deleting them from db_schema.xml, the developer should define the removable columns in the db_schema_whitelist.Json file. This file serves as a whitelist for columns that can be safely removed during schema updates.

asked 02/10/2024
ME BOX
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first