mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat: Switch to postgres
Migrate from MariaDB to PostgreSQL. Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
parent
3220cf886e
commit
db8e2458f9
64 changed files with 572 additions and 629 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue