Add summary column to documents
This commit is contained in:
11
server/migrations/20240216182003-add-summary-to-documents.js
Normal file
11
server/migrations/20240216182003-add-summary-to-documents.js
Normal file
@@ -0,0 +1,11 @@
|
||||
module.exports = {
|
||||
up: async (queryInterface, Sequelize) => {
|
||||
await queryInterface.addColumn("documents", "summary", {
|
||||
type: Sequelize.TEXT,
|
||||
allowNull: true,
|
||||
});
|
||||
},
|
||||
down: async (queryInterface, Sequelize) => {
|
||||
await queryInterface.removeColumn("documents", "summary");
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user