Clean metadata and schema (#2382)

This commit is contained in:
martmull
2023-11-07 12:33:54 +01:00
committed by GitHub
parent 7aa6b20418
commit 0ae56b055c
6 changed files with 39 additions and 0 deletions

View File

@ -120,4 +120,8 @@ export class ObjectMetadataService extends TypeOrmQueryService<ObjectMetadata> {
})),
);
}
public async deleteObjectsAndFieldsMetadata(workspaceId: string) {
await this.objectMetadataRepository.delete({ workspaceId });
}
}