Skip to content

Commit

Permalink
refactor(database): migrate to sqlAlchemy (#88)
Browse files Browse the repository at this point in the history
* refactor(database): migrate to sqlAlchemy
BREAKING CHANGE: This commit migrates the database from sqlite to postgresql.
The database is now managed by sqlAlchemy.

* build(requirements): add additional requirements

* build(runtime): add runtime for digital ocean app platform
  • Loading branch information
drahamim authored Feb 9, 2024
1 parent 205adeb commit 6e400fe
Show file tree
Hide file tree
Showing 15 changed files with 1,448 additions and 390 deletions.
8 changes: 6 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ click == 8.1.3
dominate == 2.7.0
Flask == 3.0.2
Flask-Assets == 2.0
flask-bootstrap5 == 0.1.dev1
flask-bootstrap5 >= 0.1.dev1
importlib-metadata == 7.0.1
install == 1.3.5
itsdangerous == 2.1.2
Expand All @@ -24,4 +24,8 @@ webassets == 2.0
Werkzeug == 3.0.1
WTForms == 3.0.1
zipp == 3.14.0

sqlalchemy == 1.4.25
flask-sqlalchemy >= 3.0.1
psycopg2 == 2.9.1
flask-migrate == 3.1.0
gunicorn == 20.1.0
1 change: 1 addition & 0 deletions runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.11.7
Loading

0 comments on commit 6e400fe

Please sign in to comment.