mirror of
https://github.com/outline/outline.git
synced 2026-06-25 17:24:23 +03:00
3f3a70d996
* migration * Auto detect language and adjust line-height accordingly * Remove accidental commit * Remove unneccessary adjustment * test * mock
16 lines
369 B
JavaScript
16 lines
369 B
JavaScript
"use strict";
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up(queryInterface, Sequelize) {
|
|
await queryInterface.addColumn("documents", "language", {
|
|
type: Sequelize.STRING(2),
|
|
allowNull: true,
|
|
});
|
|
},
|
|
|
|
async down(queryInterface, Sequelize) {
|
|
await queryInterface.removeColumn("documents", "language");
|
|
},
|
|
};
|