Solved

You Are Developing a Module and Need to Add Another

Question 9

Multiple Choice

You are developing a module and need to add another column to a table introduced by another module MyCompany_MyModule via db schema. How do you do that?


A) Create a etc/db_schema.xml file in your module, add the column and run bin/magento setup:upgrade Create a etc/db_schema.xml file in your module, add the column and run bin/magento setup:upgrade
B) Create a etc/db.xml file in your module, add the column and run bin/magento setup:db-schema:upgrade etc/db.xml file in your module, add the column and run bin/magento setup:db-schema:upgrade
C) Run a command: bin/magento setup:db-schema:upgrade <table> <column definition> Run a command: bin/magento setup:db-schema:upgrade <table> <column definition>
D) Create a etc/db_schema_whitelist.json file in your module, add the column and run bin/magento setup:upgrade etc/db_schema_whitelist.json file in your module, add the column and run

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents