Store source metadata for imported documents (#6136)

This commit is contained in:
Tom Moor
2023-11-11 10:52:29 -05:00
committed by GitHub
parent 90605e110a
commit 48d688c0a5
16 changed files with 178 additions and 48 deletions

View File

@@ -0,0 +1,14 @@
'use strict';
module.exports = {
async up (queryInterface, Sequelize) {
await queryInterface.addColumn("documents", "sourceMetadata", {
type: Sequelize.JSONB,
allowNull: true,
});
},
async down (queryInterface) {
await queryInterface.removeColumn("documents", "sourceMetadata");
}
};