|
@@ -17,6 +17,7 @@ import Swimlanes from '../models/swimlanes';
|
|
import Triggers from '../models/triggers';
|
|
import Triggers from '../models/triggers';
|
|
import UnsavedEdits from '../models/unsavedEdits';
|
|
import UnsavedEdits from '../models/unsavedEdits';
|
|
import Users from '../models/users';
|
|
import Users from '../models/users';
|
|
|
|
+import Org from '../models/org';
|
|
|
|
|
|
// Anytime you change the schema of one of the collection in a non-backward
|
|
// 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
|
|
// compatible way you have to write a migration in this file using the following
|
|
@@ -703,6 +704,7 @@ const firstBatchOfDbsToAddCreatedAndUpdated = [
|
|
Swimlanes,
|
|
Swimlanes,
|
|
Triggers,
|
|
Triggers,
|
|
UnsavedEdits,
|
|
UnsavedEdits,
|
|
|
|
+ Org,
|
|
];
|
|
];
|
|
|
|
|
|
firstBatchOfDbsToAddCreatedAndUpdated.forEach(db => {
|
|
firstBatchOfDbsToAddCreatedAndUpdated.forEach(db => {
|
|
@@ -737,6 +739,7 @@ const modifiedAtTables = [
|
|
Triggers,
|
|
Triggers,
|
|
UnsavedEdits,
|
|
UnsavedEdits,
|
|
Users,
|
|
Users,
|
|
|
|
+ Org,
|
|
];
|
|
];
|
|
|
|
|
|
Migrations.add('add-missing-created-and-modified', () => {
|
|
Migrations.add('add-missing-created-and-modified', () => {
|