diff --git a/plugins/notifications-backend/README.md b/plugins/notifications-backend/README.md index 172dc9ca69..19642fc9d6 100644 --- a/plugins/notifications-backend/README.md +++ b/plugins/notifications-backend/README.md @@ -80,6 +80,10 @@ import { PluginEnvironment } from '../types'; export default async function createPlugin( env: PluginEnvironment, ): Promise { + // workaround for creating the database when client is not sqlite + const dbClient = await env.database.getClient() + dbClient.destroy() + const catalogClient = new CatalogClient({ discoveryApi: env.discovery }); const dbConfig = env.config.getConfig('backend.database'); // Following is optional