Migration

This commit is contained in:
Tom Moor committed 2025-02-17 18:09:34 -05:00
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");
},
};