mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-06-09 21:09:52 +02:00
create pg_trgm if needed
This commit is contained in:
parent
0deb1d6736
commit
818725f4fb
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ for d in cache lock feed-icons; do
|
|||
chmod -R 777 $DST_DIR/$d
|
||||
done
|
||||
|
||||
$PSQL -c "create extension if not exists pg_trgm"
|
||||
|
||||
if ! $PSQL -c 'select * from ttrss_version'; then
|
||||
$PSQL < /var/www/html/tt-rss/schema/ttrss_schema_pgsql.sql
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue