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 fea4be7 commit 528a713Copy full SHA for 528a713
config/db_config.py
@@ -0,0 +1,5 @@
1
+from sqlalchemy import create_engine
2
+
3
+def connect_to_db():
4
+ database_url = "postgresql://postgres:123456@localhost:5432/lol"
5
+ return create_engine(database_url)
0 commit comments