Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

docs: add driver removal steps and required driver exception (#75870)

Copilot69a279d4ade6
diff --git a/docs/developers-guide/drivers/basics.md b/docs/developers-guide/drivers/basics.md
index 8b33a01acca..ee9b2ec6d98 100644
--- a/docs/developers-guide/drivers/basics.md
+++ b/docs/developers-guide/drivers/basics.md
@@ -30,6 +30,15 @@ For Metabase to use your driver, all you need to do is put the driver JAR you bu
You can change the plugin directory by setting the [environment variable][env-var] `MB_PLUGINS_DIR`.
+## Remove a driver
+
+To remove a driver module from Metabase:
+
+1. Delete the driver's folder from `modules/drivers`.
+2. Delete the driver's dependency entry from `modules/drivers/deps.edn`.
+
+You can't remove the Postgres, H2, or MySQL drivers, because Metabase needs them for application databases.
+
## Example module directory
Let's take a high-level look at the [SQLite driver](https://github.com/metabase/metabase/tree/master/modules/drivers/sqlite):