From dc8d48128c82284de752a8726a74f27f1e395a82 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Tue, 17 Feb 2026 11:13:48 +0100 Subject: [PATCH] add pgvector --- ct/discourse.sh | 1 + install/discourse-install.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ct/discourse.sh b/ct/discourse.sh index 044ef5f48..cf4f90fea 100644 --- a/ct/discourse.sh +++ b/ct/discourse.sh @@ -43,6 +43,7 @@ function update_script() { msg_ok "Backed up Data" msg_info "Updating Discourse" + PG_VERSION="16" PG_MODULES="pgvector" setup_postgresql cd /opt/discourse git pull origin main $STD bundle install --deployment --without test development diff --git a/install/discourse-install.sh b/install/discourse-install.sh index aa3e575d6..8eef44ef6 100644 --- a/install/discourse-install.sh +++ b/install/discourse-install.sh @@ -28,7 +28,7 @@ $STD apt install -y \ redis-server msg_ok "Installed Dependencies" -PG_VERSION="16" setup_postgresql +PG_VERSION="16" PG_MODULES="pgvector" setup_postgresql NODE_VERSION="22" setup_nodejs RUBY_VERSION="3.4.4" setup_ruby