Câu 5: Magento 2 Certified Associate Developer
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?
Nội dung câu hỏi
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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- 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 — đáp án hiện tại
- D. Create a etc/db_schema_whitelist.json file in your module, add the column and run bin/magento setup:upgrade
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.