feat: Switch to postgres

Migrate from MariaDB to PostgreSQL.

Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
moson 2023-11-30 15:13:42 +01:00
parent 3220cf886e
commit db8e2458f9
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296
64 changed files with 572 additions and 629 deletions

View file

@ -78,7 +78,6 @@ paginate = "^0.5.6"
# SQL
alembic = "^1.13.1"
mysqlclient = "^2.2.4"
Authlib = "^1.3.0"
Jinja2 = "^3.1.3"
Markdown = "^3.6"
@ -97,6 +96,7 @@ pyalpm = "^0.10.6"
fastapi = "^0.110.0"
srcinfo = "^0.1.2"
tomlkit = "^0.12.0"
psycopg2 = {extras = ["c"], version = "^2.9.7"}
[tool.poetry.dev-dependencies]
coverage = "^7.4.4"