Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Magento 2 Certified Associate Developer topic 1 question 14 discussion

Actual exam question from Magento's Magento 2 Certified Associate Developer
Question #: 14
Topic #: 1
[All Magento 2 Certified Associate Developer Questions]

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
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Sharika03
7 months, 3 weeks ago
Selected Answer: A
https://devdocs.magento.com/guides/v2.3/extension-dev-guide/declarative-schema/db-schema.html
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...