Comment to 'Delete apps with data'
  • First of all, the install/disable.sql file of your module should be first, then you need to execute commands from the install/uninstall.sql file. After those actions you may delete the record about this app in the sys_modules table.