aboutsummaryrefslogtreecommitdiff
path: root/wekan/fix_migration.diff
diff options
context:
space:
mode:
Diffstat (limited to 'wekan/fix_migration.diff')
-rw-r--r--wekan/fix_migration.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/wekan/fix_migration.diff b/wekan/fix_migration.diff
new file mode 100644
index 0000000..0e6248f
--- /dev/null
+++ b/wekan/fix_migration.diff
@@ -0,0 +1,21 @@
1--- a/build/programs/server/app/app.js 2023-11-26 22:45:48.000000000 +0000
2+++ b/build/programs/server/app/app.js 2023-11-27 04:13:12.542832728 +0000
3@@ -25399,18 +25399,6 @@
4 }
5 }, noValidate);
6 }
7- checklist.items.forEach((item, index) => {
8- if (!item.hasOwnProperty('sort')) {
9- Checklists.direct.update({
10- _id: checklist._id,
11- 'items._id': item._id
12- }, {
13- $set: {
14- 'items.$.sort': index
15- }
16- }, noValidate);
17- }
18- });
19 });
20 });
21 Migrations.add('add-swimlanes', () => {