mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 16:00:13 +01:00
Teams/Organizations part 3, in progress. Table: org_user, and indexes.
Thanks to xet7 ! Related #802
This commit is contained in:
parent
583f32e5c5
commit
41950ba4de
2 changed files with 83 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ 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,6 +706,7 @@ const firstBatchOfDbsToAddCreatedAndUpdated = [
|
|||
Triggers,
|
||||
UnsavedEdits,
|
||||
Org,
|
||||
OrgUser,
|
||||
];
|
||||
|
||||
firstBatchOfDbsToAddCreatedAndUpdated.forEach(db => {
|
||||
|
|
@ -740,6 +742,7 @@ const modifiedAtTables = [
|
|||
UnsavedEdits,
|
||||
Users,
|
||||
Org,
|
||||
OrgUser,
|
||||
];
|
||||
|
||||
Migrations.add('add-missing-created-and-modified', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue