We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdb8128 commit 40b6400Copy full SHA for 40b6400
src/cs50/sql.py
@@ -42,6 +42,7 @@ def __init__(self, url, **kwargs):
42
# Enable foreign key constraints
43
if foreign_keys:
44
sqlalchemy.event.listen(self.engine, "connect", _connect)
45
+
46
else:
47
48
# Create engine, raising exception if back end's module not installed
0 commit comments