mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Start writing migration
This commit is contained in:
parent
617fdaeb74
commit
b34ed58289
3 changed files with 272 additions and 97 deletions
|
@ -17,6 +17,7 @@ import Swimlanes from '../models/swimlanes';
|
|||
import Triggers from '../models/triggers';
|
||||
import UnsavedEdits from '../models/unsavedEdits';
|
||||
import Users from '../models/users';
|
||||
import CFSAttachments from './migrate-attachments';
|
||||
|
||||
// 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
|
||||
|
@ -777,3 +778,8 @@ Migrations.add('fix-incorrect-dates', () => {
|
|||
}),
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('fix-incorrect-dates', () => {
|
||||
cas = CFSAttachments.find();
|
||||
console.log('cas', cas);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue