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
B.
Create a 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>
D.
Create a etc/db_schema_whitelist.json file in your module, add the column and run bin/magento setup:upgrade
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Sharika03
3 months ago