`dump()` expects a `Database` not a schema