summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-07-16 01:01:25 +0300
committerLauri Ojansivu <x@xet7.org>2019-07-16 01:01:25 +0300
commit7f2f407e2a5d8fb3d2d94ba9fa214c56c1087b2d (patch)
tree2ab1f04c30cbe10d6ad9ad8b14fbe090e19be85b
parent75c84e3b5dbe8ef932376b57a8a98a35e01570c8 (diff)
downloadwekan-7f2f407e2a5d8fb3d2d94ba9fa214c56c1087b2d.tar.gz
wekan-7f2f407e2a5d8fb3d2d94ba9fa214c56c1087b2d.tar.bz2
wekan-7f2f407e2a5d8fb3d2d94ba9fa214c56c1087b2d.zip
Org tables already have created and modified fields, so they
[are not needed](https://github.com/wekan/wekan/commit/2cedbcb9b334cd497874736bbb740a1d5c5acb6c#r34310611) for add-missing-created-and-modified migration, so removing not needed migration. Thanks to justinr1234 and xet7 ! Related #802
-rw-r--r--server/migrations.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/server/migrations.js b/server/migrations.js
index 6bb370d4..f3776edd 100644
--- a/server/migrations.js
+++ b/server/migrations.js
@@ -17,8 +17,6 @@ import Swimlanes from '../models/swimlanes';
import Triggers from '../models/triggers';
import UnsavedEdits from '../models/unsavedEdits';
import Users from '../models/users';
-import Org from '../models/org';
-import OrgUser from '../models/orgUser';
// Anytime you change the schema of one of the collection in a non-backward
// compatible way you have to write a migration in this file using the following
@@ -705,8 +703,6 @@ const firstBatchOfDbsToAddCreatedAndUpdated = [
Swimlanes,
Triggers,
UnsavedEdits,
- Org,
- OrgUser,
];
firstBatchOfDbsToAddCreatedAndUpdated.forEach(db => {
@@ -741,8 +737,6 @@ const modifiedAtTables = [
Triggers,
UnsavedEdits,
Users,
- Org,
- OrgUser,
];
Migrations.add('add-missing-created-and-modified', () => {