mirror of
https://github.com/outline/outline.git
synced 2026-11-29 00:29:36 +03:00
Migration
This commit is contained in:
1 parent
c6ae6e0c36
commit
e24df66a2f
1 file changed
+15
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
|
||||
/** @type {import('sequelize-cli').Migration} */
|
||||
module.exports = {
|
||||
async up(queryInterface, Sequelize) {
|
||||
await queryInterface.addColumn("teams", "previousSubdomains", {
|
||||
type: Sequelize.ARRAY(Sequelize.STRING),
|
||||
allowNull: true,
|
||||
});
|
||||
},
|
||||
|
||||
async down(queryInterface) {
|
||||
await queryInterface.removeColumn("teams", "previousSubdomains");
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user