create pg_trgm if needed
This commit is contained in:
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…
Reference in New Issue