From b1bf7c488b2e8e5704aa26a8f6bde95cfda5bef5 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 11 Jun 2026 22:16:08 -0400 Subject: [PATCH] chore: Drop dead collaborativeEditing column from teams (#12669) The collaborativeEditing toggle has been unused since collaborative editing became always-on. The column is no longer defined in the Team model nor referenced anywhere in the codebase, so this drops it. Co-authored-by: Claude Opus 4.8 --- ...260611000000-drop-team-collaborative-editing.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 server/migrations/20260611000000-drop-team-collaborative-editing.js diff --git a/server/migrations/20260611000000-drop-team-collaborative-editing.js b/server/migrations/20260611000000-drop-team-collaborative-editing.js new file mode 100644 index 0000000000..813e9e8347 --- /dev/null +++ b/server/migrations/20260611000000-drop-team-collaborative-editing.js @@ -0,0 +1,14 @@ +"use strict"; + +/** @type {import('sequelize-cli').Migration} */ +module.exports = { + async up(queryInterface) { + await queryInterface.removeColumn("teams", "collaborativeEditing"); + }, + + async down(queryInterface, Sequelize) { + await queryInterface.addColumn("teams", "collaborativeEditing", { + type: Sequelize.BOOLEAN, + }); + }, +};