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
|
@ -357,7 +357,7 @@ for t in range(0, OPEN_PROPOSALS + CLOSE_PROPOSALS):
|
|||
user = user_keys[random.randrange(0, len(user_keys))]
|
||||
suid = packagemaintainers[random.randrange(0, len(packagemaintainers))]
|
||||
s = (
|
||||
"INSERT INTO VoteInfo (Agenda, User, Submitted, End,"
|
||||
'INSERT INTO VoteInfo (Agenda, "user", Submitted, "end",'
|
||||
" Quorum, SubmitterID) VALUES ('%s', '%s', %d, %d, 0.0, %d);\n"
|
||||
)
|
||||
s = s % (genFortune(), user, start, end, suid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue