mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
When opening board, migrate from Shared Lists to Per-Swimlane Lists.
Thanks to xet7 ! Fixes #5952
This commit is contained in:
parent
48b645ee1e
commit
1e6252de7f
8 changed files with 112 additions and 219 deletions
|
|
@ -337,13 +337,13 @@ class BoardMigrationDetector {
|
|||
// Export singleton instance
|
||||
export const boardMigrationDetector = new BoardMigrationDetector();
|
||||
|
||||
// Start the detector on server startup
|
||||
Meteor.startup(() => {
|
||||
// Wait a bit for the system to initialize
|
||||
Meteor.setTimeout(() => {
|
||||
boardMigrationDetector.start();
|
||||
}, 10000); // Start after 10 seconds
|
||||
});
|
||||
// Note: Automatic migration detector is disabled - migrations only run when opening boards
|
||||
// Meteor.startup(() => {
|
||||
// // Wait a bit for the system to initialize
|
||||
// Meteor.setTimeout(() => {
|
||||
// boardMigrationDetector.start();
|
||||
// }, 10000); // Start after 10 seconds
|
||||
// });
|
||||
|
||||
// Meteor methods for client access
|
||||
Meteor.methods({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue