開発者移行エラー

Discourse AI によって引き起こされました:

== 20240611170904 UpgradePgvector070: migrating =============================== rake aborted! StandardError: An error has occurred, this and all later migrations canceled: (StandardError)
ERROR:  syntax error at or near "("
/home/robert/discourse/lib/mini_sql_multisite_connection.rb:109:in `run'
/home/robert/discourse/plugins/discourse-ai/db/migrate/20240611170904_upgrade_pgvector_070.rb:10:in `up'
/home/robert/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration'
/home/robert/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration'
/home/robert/discourse/lib/migration/safe_migrate.rb:28:in `migrate'

プラグインは使用していませんが、バンドルされています。

それは私のPostgresのバージョンだと思います。アップグレードを試してみます。

PostgreSQLのアップグレードで問題が解決します。現在のバージョンでは、このマイグレーションで使用されているpgvector拡張の構文がサポートされていないためです。

「いいね!」 1

3.5に移行する際には、pgvector拡張機能のインストールに加えてPostgreSQLのアップグレードも必要になりますか?
必要なPostgreSQLの最小バージョンは何ですか?

16に移動しましたが、15で十分かもしれません。

「いいね!」 1

このトピックが理解できません。そのマイグレーションはPG13で正常に実行されます。

「いいね!」 1

12を走っていました。:slight_smile:

確認ありがとうございます。

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.