github: Make the database plugin an optional dep.