Remove useless autocommit=0 in db migration script
This commit is contained in:
		
							parent
							
								
									6ad0344ea5
								
							
						
					
					
						commit
						703b4cc92a
					
				@ -200,7 +200,6 @@ class DatabaseMigration {
 | 
			
		||||
    const connection = await DB.pool.getConnection();
 | 
			
		||||
    try {
 | 
			
		||||
      await this.$executeQuery(connection, 'START TRANSACTION;');
 | 
			
		||||
      await this.$executeQuery(connection, 'SET autocommit = 0;');
 | 
			
		||||
      for (const query of transactionQueries) {
 | 
			
		||||
        await this.$executeQuery(connection, query);
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user