mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
82cdebfb66
* fix: Flaky test * Migration, model interface * Add policies to revisions * Add revisions.update endpoint * tests * lint
16 lines
347 B
JavaScript
16 lines
347 B
JavaScript
"use strict";
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up(queryInterface, Sequelize) {
|
|
await queryInterface.addColumn("revisions", "name", {
|
|
type: Sequelize.STRING,
|
|
allowNull: true,
|
|
});
|
|
},
|
|
|
|
async down(queryInterface) {
|
|
await queryInterface.removeColumn("revisions", "name");
|
|
},
|
|
};
|