mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-08 01:36:28 +01:00
updates
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user