ci: Fix test database cleanup (no-changelog) (#6188)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-05-05 10:12:37 +00:00
committed by GitHub
parent 82fe6383ef
commit 85a6ace56b
3 changed files with 17 additions and 23 deletions

View File

@@ -51,7 +51,6 @@ import type {
EndpointGroup,
InstalledNodePayload,
InstalledPackagePayload,
PostgresSchemaSection,
} from './types';
import { licenseController } from '@/license/license.controller';
import { registerController } from '@/decorators';
@@ -760,22 +759,6 @@ export const setInstanceOwnerSetUp = async (value: boolean) => {
);
};
// ----------------------------------
// misc
// ----------------------------------
export function getPostgresSchemaSection(
schema = config.getSchema(),
): PostgresSchemaSection | null {
for (const [key, value] of Object.entries(schema)) {
if (key === 'postgresdb') {
return value._cvtProperties;
}
}
return null;
}
// ----------------------------------
// community nodes
// ----------------------------------