feat: Switch to postgres

WIP!

Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
moson 2023-10-26 18:45:35 +02:00
parent 40c1d3e8ee
commit e36b405689
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296
52 changed files with 395 additions and 463 deletions

View file

@ -6,19 +6,13 @@
; development-specific options too.
[database]
; FastAPI options: mysql.
backend = mysql
; If using sqlite, set name to the database file path.
backend = postgres
;host = localhost
socket = /run/postgresql
;port = 5432
name = aurweb
; MySQL database information. User defaults to root for containerized
; testing with mysqldb. This should be set to a non-root user.
user = root
;password = aur
host = localhost
;port = 3306
socket = /var/run/mysqld/mysqld.sock
user = aur
password = aur
[options]
aurwebdir = YOUR_AUR_ROOT