summaryrefslogtreecommitdiffstats
path: root/frest/database.py
diff options
context:
space:
mode:
authorSanto Cariotti <dcariotti24@gmail.com>2020-04-06 19:54:53 +0000
committerSanto Cariotti <dcariotti24@gmail.com>2020-04-06 19:54:53 +0000
commit3a2246e26e9febe3c15e2ddc1e7e6f320f86fe15 (patch)
tree9cbd95771d38dfd66bedb4a447470391d34a68eb /frest/database.py
parent6188a952974b3e268936beb1027ea58fbfaa67aa (diff)
chore: move package in frest folder
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"}