From 1418e1b903a59a1b007ca5ac355ccfaebd9802c7 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Thu, 16 Mar 2023 12:49:50 +0100 Subject: terminate all migrations with semicolon --- paste/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paste/db.py b/paste/db.py index 25e85ce..c48221f 100644 --- a/paste/db.py +++ b/paste/db.py @@ -62,7 +62,7 @@ def migrate(connection: sqlite3.Connection, migrations: list[str]) -> None: try: connection.executescript( "BEGIN IMMEDIATE TRANSACTION;\n" - f"{migration}\n" + f"{migration};\n" f"PRAGMA user_version = {i:d}" ) except: -- cgit v1.2.3-54-g00ecf