diff --git a/src/index.ts b/src/index.ts index b43c5d9..5cfcfbd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -155,9 +155,6 @@ async function initVersionTable(db: Pool, versionTable: string) { try { await client.query("BEGIN") await client.query(ddlCreateVersionTable) - await client.query("COMMIT") - - await client.query("BEGIN") await client.query(insertFistValue) await client.query("COMMIT") return 0