Business Suite Version 5 is coming
Check what's new

Writing uninstaller

You might want to remove the database tables or any additional data that created your plugin when it's uninstalled. To do this, you will create a file named uninstall.php and you will write your uninstaller codes here, For notes we were created app_notes table, so we want to drop this table when plugin is uninstalled-

Here is the codes for this-

$table = new Schema('app_notes');
By continuing to use this site you consent to the use of cookies in accordance with our Cookie policy. close notification