This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/server/migrations/20170729215619-emoji.js

13 lines
307 B
JavaScript

module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.addColumn('documents', 'emoji', {
type: Sequelize.STRING,
allowNull: true,
});
},
down: async (queryInterface, _Sequelize) => {
await queryInterface.removeColumn('documents', 'emoji');
},
};