ExamGecko
Question list
Search
Search

Question 33 - AD0-E717 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 removable columns should be defined in db_schema_whitelist.json.
Answers
A.
The removable columns should be defined in db_schema_whitelist.json.
B.
The columns should have 'removable' attribute set to 'true' in the db.schema.xml.
Answers
B.
The columns should have 'removable' attribute set to 'true' in the db.schema.xml.
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: A

Explanation:

If a developer wants to allow the removal of columns from the database when deleting them from db.schema.xml, they need to define the removable columns in the db_schema_whitelist.json file. This file will tell Magento which columns can be removed from the database.

asked 02/10/2024
Kevin Collins
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first