Update models.py

This commit is contained in:
collerek
2021-02-02 18:02:25 +07:00
committed by GitHub
parent 1cca385b5f
commit 3c43544e0f

View File

@ -61,7 +61,7 @@ def populate_default_options_values(
class Connection(sqlite3.Connection):
def __init__(self, *args: Any, **kwargs: Any) -> None:
def __init__(self, *args: Any, **kwargs: Any) -> None: # pragma: no cover
super().__init__(*args, **kwargs)
self.execute("PRAGMA foreign_keys=1;")