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:
Verified
Q4: You have to install a new module
Q5: A third-party module uses a layout update
Q6: You are adding a child node to
Q7: Magento 2's architecture uses code to bootstrap
Q8: How does Magento store customer address attribute
Q10: The module MyCompany_MyModule will add a new
Q11: How do you pass an array ['one',
Q12: In the module located at app/code/MyCompany/MyModule there
Q13: What is the connection between product attribute
Q14: Products may be accessed using SEO friendly
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents