Drop or remove Table from Database using DataPatchInterface Magento 2.

Drop or Remove a database Table in Magento 2 using the Setup folder DataPatchInterface approach.

From Magento 2.3 New Concept Setup Patch  Data was introduced. Continue reading “Drop or remove Table from Database using DataPatchInterface Magento 2.”

Uninstall module with database table schema using Magento 2.

Uninstall module using Magento 2, Native command is module:uninstall to remove module from the system.

Uninstall command works only with a module installed using a composer or defined as Composer packages. Continue reading “Uninstall module with database table schema using Magento 2.”

Get Serialize value in array format using Magento 2.

Get Serialize value into an array format by using an unserialize() method of native Magento interface.

unserialize() method is used to convert the array form of data in Magento 2.

Continue reading “Get Serialize value in array format using Magento 2.”