We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ad236d commit 10ff235Copy full SHA for 10ff235
plugins/notifications-backend/README.md
@@ -80,6 +80,10 @@ import { PluginEnvironment } from '../types';
80
export default async function createPlugin(
81
env: PluginEnvironment,
82
): Promise<Router> {
83
+ // workaround for creating the database when client is not sqlite
84
+ const dbClient = await env.database.getClient()
85
+ dbClient.destroy()
86
+
87
const catalogClient = new CatalogClient({ discoveryApi: env.discovery });
88
const dbConfig = env.config.getConfig('backend.database');
89
// Following is optional
0 commit comments