diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-03-16 12:49:50 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-03-24 20:25:01 +0000 |
commit | 1418e1b903a59a1b007ca5ac355ccfaebd9802c7 (patch) | |
tree | 9d7928eff689afb505cec7f3f659f9cd6b0c8747 | |
parent | ed2cbfa4e5ebd12a626022c4c449b1accbe1caf2 (diff) | |
download | paste-1418e1b903a59a1b007ca5ac355ccfaebd9802c7.tar.gz paste-1418e1b903a59a1b007ca5ac355ccfaebd9802c7.tar.xz paste-1418e1b903a59a1b007ca5ac355ccfaebd9802c7.zip |
terminate all migrations with semicolon
-rw-r--r-- | paste/db.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |