Business Suite Cloud is Live Now.
Learn More

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');