0.2.0 cleaning script (#2342)
* Display maxUpdatedAt for each workspace Schema * Factorize functions * Add max update for public workspaces * Merge everything in a single json * Enrich results * Get from proper table * Update * Move to proper command file * Add a dry-run option * Remove workspaces from database * Fix DeleteWorkspace method * Add new option * Remove proper data when deleting workspace * Minor improvements
This commit is contained in:
@ -137,8 +137,6 @@ export class UserService {
|
||||
// Delete entire workspace
|
||||
await this.workspaceService.deleteWorkspace({
|
||||
workspaceId,
|
||||
userId,
|
||||
select: { id: true },
|
||||
});
|
||||
} else {
|
||||
await this.prismaService.client.$transaction([
|
||||
|
||||
Reference in New Issue
Block a user