We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1cc7bc1 + a45f6bf commit 0783002Copy full SHA for 0783002
migrations/bookmarks/migrateBookmarksToLinks.js
@@ -17,7 +17,7 @@ console.log('Migrate project.bookmarks to project.attachments for all projects i
17
*/
18
const getProjectsWithBookmarks = () => models.Project.findAll({
19
raw: false,
20
- attributes: ['id', 'bookmarks'],
+ attributes: ['id', 'bookmarks', 'createdAt', 'createdBy', 'updatedAt', 'updatedBy'],
21
where: sequelize.where(
22
sequelize.fn('json_array_length', sequelize.col('bookmarks')),
23
{ [sequelize.Op.gt]: 0 },
0 commit comments