我正在尝试迁移数据库,但遇到了以下错误:
unknown OID 446656: failed to recognize type of 'embeddings'. It will be treated as String.
rake db:migrate:status 显示:
...
up 20240304030429 Topic id on incoming email index
up 20240306063428 Add indexes to notifications
up 20240307231053 Add topics unread when closed to user options
并且我可以在路径中看到 \./db/migrate/20240307231053_add_topics_unread_when_closed_to_user_options.rb,所以看起来上面的错误阻止了数据库迁移,从而阻止了我恢复数据库。
pgvector 已在开发和测试数据库上安装并启用,这是我唯一的猜测。