feat: Switch to postgres

WIP!

Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
moson 2023-11-12 20:16:02 +01:00
parent 5d302ae00c
commit 7a20a86e92
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296
62 changed files with 444 additions and 511 deletions

View file

@ -20,7 +20,7 @@ def test_run():
from aurweb.schema import metadata
aurweb.db.kill_engine()
metadata.drop_all(aurweb.db.get_engine())
metadata.drop_all(aurweb.db.get_engine(), checkfirst=False)
aurweb.initdb.run(Args())
# Check that constant table rows got added via initdb.