forked from coop-cloud/outline
		
	Also delete search_queries
This commit is contained in:
		
							
								
								
									
										1
									
								
								abra.sh
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								abra.sh
									
									
									
									
									
								
							@ -36,6 +36,7 @@ delete_user() {
 | 
			
		||||
	UPDATE documents SET "createdById" = '$USERID_REPLACE' WHERE "createdById" = '$USERID_REMOVE';
 | 
			
		||||
	UPDATE revisions SET "userId" = '$USERID_REPLACE' WHERE "userId" = '$USERID_REMOVE';
 | 
			
		||||
	UPDATE attachments SET "userId" = '$USERID_REPLACE' WHERE "userId" = '$USERID_REMOVE';
 | 
			
		||||
	DELETE FROM search_queries WHERE "userId" = '$USERID_REMOVE';
 | 
			
		||||
	DELETE FROM shares WHERE "userId" = '$USERID_REMOVE';
 | 
			
		||||
	DELETE FROM notification_settings WHERE "userId" = '$USERID_REMOVE';
 | 
			
		||||
	DELETE FROM events WHERE "actorId" = '$USERID_REMOVE';
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user