Closed petterthowsen closed 4 months ago
async up (queryInterface, Sequelize) { pgvector.registerType(Sequelize); await queryInterface.addColumn('Memories', 'embeddings', Sequelize.VECTOR(384)); },
The above generates: ERROR: Sequelize.VECTOR is not a function
Hi @petterthowsen, VECTOR is defined on Sequelize.DataTypes (like other data types).
VECTOR
Sequelize.DataTypes
Oh god, hahaha! Oh well, we've all been there ðŸ¤
The above generates: ERROR: Sequelize.VECTOR is not a function