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 eca8bbf515
commit 122df968dc
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296
64 changed files with 1467 additions and 1441 deletions

View file

@ -43,7 +43,7 @@
<div>
<input type="text"
name="keywords"
value="{{ pkgbase.keywords | join(' ', attribute='Keyword') }}"
value="{{ keywords | join(' ', attribute='Keyword') }}"
/>
<input type="submit" value="{{ 'Update' | tr }}"/>
</div>
@ -51,7 +51,7 @@
</td>
{% else %}
<td>
{% for keyword in pkgbase.keywords.all() %}
{% for keyword in keywords.all() %}
<a class="keyword"
href="/packages/?K={{ keyword.Keyword }}&amp;SeB=k"
>