migrtation fix

indiachan-spamvector
Thomas Lynch 3 years ago
parent 8892f64bad
commit 23028049cf
  1. 3
      migrations/0.1.2.js

@ -5,6 +5,9 @@ module.exports = async(db, redis) => {
await db.collection('boards').updateMany({}, {
'$set': {
'webring': false,
},
'$rename': {
'settings.tags': 'tags'
}
});
await db.collection('boards').dropIndexes();

Loading…
Cancel
Save