Remove useless autocommit=0 in db migration script

This commit is contained in:
nymkappa 2022-01-25 16:45:52 +09:00
parent 0ac558fc0d
commit 159c4224bd

View File

@ -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);
}