diff options
author | guillaume <guillaume.cassou@supinfo.com> | 2018-10-11 16:44:52 +0200 |
---|---|---|
committer | guillaume <guillaume.cassou@supinfo.com> | 2018-10-11 16:44:52 +0200 |
commit | b925b8e74d8cb55edcb570819cffcb9f0dc061fc (patch) | |
tree | 5fa828a5aafc09b5a652999fa0540703fb355b31 /server/migrations.js | |
parent | 28a01862d04654784bd6010035c3a6fe1690ba60 (diff) | |
download | wekan-b925b8e74d8cb55edcb570819cffcb9f0dc061fc.tar.gz wekan-b925b8e74d8cb55edcb570819cffcb9f0dc061fc.tar.bz2 wekan-b925b8e74d8cb55edcb570819cffcb9f0dc061fc.zip |
improve notifications
Diffstat (limited to 'server/migrations.js')
-rw-r--r-- | server/migrations.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/server/migrations.js b/server/migrations.js index 1d62d796..a5d93a4c 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -333,3 +333,12 @@ Migrations.add('add-authenticationMethod', () => { }, }, noValidateMulti); }); + +Migrations.add('remove-tag', () => { + Users.update({ + }, { + $unset: { + 'profile.tags':1, + }, + }, noValidateMulti); +});
\ No newline at end of file |