added pg_trgm for postgres
This commit is contained in:
1 parent
09f6a643d9
commit
82d536783d
1 file changed
+3
@@ -85,6 +85,9 @@ postgresql_init() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
psql -h$DB_HOST -p $DB_PORT -U$DB_ROOT_USER -tc "GRANT ALL PRIVILEGES ON DATABASE $DB_DATABASE to $DB_USER;" > /dev/null
|
psql -h$DB_HOST -p $DB_PORT -U$DB_ROOT_USER -tc "GRANT ALL PRIVILEGES ON DATABASE $DB_DATABASE to $DB_USER;" > /dev/null
|
||||||
|
|
||||||
|
# TODO make this configurable
|
||||||
|
psql -h$DB_HOST -p $DB_PORT -U$DB_ROOT_USER -tc "CREATE EXTENSION pg_trgm;" > /dev/null 2> /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user