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.
1 parent 6846d5f commit a45f6bfCopy full SHA for a45f6bf
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