summaryrefslogtreecommitdiff
path: root/frest/database.py
diff options
context:
space:
mode:
authorSanto Cariotti <dcariotti24@gmail.com>2020-03-20 10:14:57 +0100
committerSanto Cariotti <dcariotti24@gmail.com>2020-03-20 10:14:57 +0100
commit22dc19db42b71998efc305a4495940661957b57b (patch)
treea7347678b0a090fa1d79c897a5f992a9719108e9 /frest/database.py
parent6553601e189af6f110f5363741c5d8717746983d (diff)
chore: db config
Diffstat (limited to 'frest/database.py')
-rw-r--r--frest/database.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/frest/database.py b/frest/database.py
new file mode 100644
index 0000000..176cd52
--- /dev/null
+++ b/frest/database.py
@@ -0,0 +1,4 @@
+from flask_sqlalchemy import SQLAlchemy
+
+db = SQLAlchemy()
+config = {"DATABASE_URI": "sqlite:///database.db"}