create pg_trgm if needed

remotes/origin/pgsql-count-bits-12
Andrew Dolgov 5 years ago
parent 0deb1d6736
commit 818725f4fb

@ -29,6 +29,8 @@ for d in cache lock feed-icons; do
chmod -R 777 $DST_DIR/$d chmod -R 777 $DST_DIR/$d
done done
$PSQL -c "create extension if not exists pg_trgm"
if ! $PSQL -c 'select * from ttrss_version'; then if ! $PSQL -c 'select * from ttrss_version'; then
$PSQL < /var/www/html/tt-rss/schema/ttrss_schema_pgsql.sql $PSQL < /var/www/html/tt-rss/schema/ttrss_schema_pgsql.sql
fi fi

Loading…
Cancel
Save