Remove useless autocommit=0 in db migration script

This commit is contained in:
nymkappa 2022-01-25 16:45:52 +09:00 committed by wiz
parent b9067ed912
commit 53c8cdee83
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

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