9 lines
255 B
TypeScript
9 lines
255 B
TypeScript
import type { Destroy } from 'payload/database'
|
|
|
|
import type { PostgresAdapter } from './types'
|
|
|
|
export const destroy: Destroy = async function destroy(this: PostgresAdapter) {
|
|
// TODO: this hangs test suite for some reason
|
|
// await this.pool.end()
|
|
}
|