This commit is contained in:
Morten Olsen
2025-09-05 11:22:58 +02:00
parent 9fe279b1b5
commit ff06613e99
10 changed files with 277 additions and 12 deletions

View File

@@ -60,6 +60,10 @@ class PostgresInstance {
await this.#db.raw(`ALTER DATABASE "${name}" OWNER TO "${owner}"`);
}
};
public close = async () => {
await this.#db.destroy();
};
}
export { PostgresInstance, type PostgresInstanceOptions };