Skip to content

Commit 0783002

Browse files
authored
Merge pull request #521 from topcoder-platform/feature/link-attachments
Links as Attachments + Tags - Fix (3)
2 parents 1cc7bc1 + a45f6bf commit 0783002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/bookmarks/migrateBookmarksToLinks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ console.log('Migrate project.bookmarks to project.attachments for all projects i
1717
*/
1818
const getProjectsWithBookmarks = () => models.Project.findAll({
1919
raw: false,
20-
attributes: ['id', 'bookmarks'],
20+
attributes: ['id', 'bookmarks', 'createdAt', 'createdBy', 'updatedAt', 'updatedBy'],
2121
where: sequelize.where(
2222
sequelize.fn('json_array_length', sequelize.col('bookmarks')),
2323
{ [sequelize.Op.gt]: 0 },

0 commit comments

Comments
 (0)