Since we lazy-create database schema for notifications, we should implement hook_uninstall to clean up the system
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3585234. --> Reported by: [penyaskito](https://www.drupal.org/user/959536) Related to !933 >>> <h3 id="overview">Overview</h3> <p>Since we implement hook_schema for notifications, we should implement hook_uninstall to clean up the system.</p> <h3 id="proposed-resolution">Proposed resolution</h3> <p>Implement hook_uninstall to clean up the created tables. As we attempt to land <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3585192" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3585192</a></span>, we should check first if they exist at all.</p> <h3 id="ui-changes">User interface changes</h3> <p>None.</p>
issue