File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/packages/database/postgres Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,7 @@ async function delete_associated_project_data(
247
247
"file_access_log" ,
248
248
"jupyter_api_log" ,
249
249
"openai_chatgpt_log" ,
250
+ "blobs" ,
250
251
] as const ;
251
252
252
253
for ( const table of tables ) {
@@ -256,7 +257,7 @@ async function delete_associated_project_data(
256
257
value : project_id ,
257
258
} ) ;
258
259
total += rowsDeleted ;
259
- L2 ( `deleted ${ table } ${ rowsDeleted } entries` ) ;
260
+ L2 ( `deleted in ${ table } : ${ rowsDeleted } entries` ) ;
260
261
}
261
262
262
263
// these tables are different, i.e. another id, or the field to check the project_id value against is called differently
@@ -268,7 +269,7 @@ async function delete_associated_project_data(
268
269
value : project_id ,
269
270
} ) ;
270
271
total += rowsDeleted ;
271
- L2 ( `deleted copy_paths/${ field } ${ rowsDeleted } entries` ) ;
272
+ L2 ( `deleted copy_paths/${ field } : ${ rowsDeleted } entries` ) ;
272
273
}
273
274
274
275
{
@@ -279,7 +280,7 @@ async function delete_associated_project_data(
279
280
value : project_id ,
280
281
} ) ;
281
282
total += rowsDeleted ;
282
- L2 ( `deleted ${ rowsDeleted } listings ` ) ;
283
+ L2 ( `deleted in listings: ${ rowsDeleted } entries ` ) ;
283
284
}
284
285
285
286
{
@@ -290,7 +291,7 @@ async function delete_associated_project_data(
290
291
id : "token" ,
291
292
} ) ;
292
293
total += rowsDeleted ;
293
- L2 ( `deleted ${ rowsDeleted } entries` ) ;
294
+ L2 ( `deleted in project_invite_tokens: ${ rowsDeleted } entries` ) ;
294
295
}
295
296
296
297
return total ;
You can’t perform that action at this time.
0 commit comments