List of questions
Related questions
Question 27 - AD0-E716 discussion
An Adobe Commerce developer is creating a module (Vendor.ModuleName) to be sold on the Marketplace. The new module creates a database table using declarative schema and now the developer needs to make sure the table is removed when the module is disabled.
What must the developer do to accomplish this?
A.
There is nothing further the developer needs to do. The table will be removed when the module is disabled and bin/magento setup:upgrade is run.
B.
There is nothing further the developer needs to do. The table will be removed when the when bin/magento module:uninstall vendor_ModuleName is run.
C.
Add a schema patch that implements Magento\Framework\setup\Patch\PatchRevertabieinterface and drops the table in the revert function.
Your answer:
0 comments
Sorted by
Leave a comment first