Merge branch 'cascades' of https://github.com/collerek/ormar into cascades

This commit is contained in:
collerek
2021-02-02 12:49:12 +01:00

View File

@ -61,7 +61,7 @@ def populate_default_options_values(
class Connection(sqlite3.Connection): 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) super().__init__(*args, **kwargs)
self.execute("PRAGMA foreign_keys=1;") self.execute("PRAGMA foreign_keys=1;")