diff --git a/source/library/adapters/databases/rethinkdb/database.ts b/source/library/adapters/databases/rethinkdb/database.ts index 5ee5d0ef6..1a8e7ae74 100644 --- a/source/library/adapters/databases/rethinkdb/database.ts +++ b/source/library/adapters/databases/rethinkdb/database.ts @@ -85,6 +85,8 @@ class RethinkDBAdapter extends DatabaseAdapter { this.#connection.use(this.#databaseName); + await rethinkdb.r.db(this.#databaseName).wait().run(this.#connection); + await this.#createMissingTables(); }