v0.48.1 Further attempts to address MariaDB challenges and make things as foolproof as possible.
This commit is contained in:
		@@ -1402,7 +1402,7 @@ class GossamerForumsImporter < ImportScripts::Base
 | 
				
			|||||||
##            begin
 | 
					##            begin
 | 
				
			||||||
              # Fetch the discourse user ID for the reply
 | 
					              # Fetch the discourse user ID for the reply
 | 
				
			||||||
              reply_user_id = fetch_user_id_mapping(reply_row['user_id_fk'])
 | 
					              reply_user_id = fetch_user_id_mapping(reply_row['user_id_fk'])
 | 
				
			||||||
              if reply_user_id = 0
 | 
					              if reply_user_id == 0
 | 
				
			||||||
                former_user = User.find_by(username: 'Former_User')
 | 
					                former_user = User.find_by(username: 'Former_User')
 | 
				
			||||||
                reply_user_id = former_user.id
 | 
					                reply_user_id = former_user.id
 | 
				
			||||||
              end
 | 
					              end
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user