summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-06-07 22:53:06 +0300
committerLauri Ojansivu <x@xet7.org>2018-06-07 22:53:06 +0300
commitb3bb03fed4c4ddef4492c40d79f7dc313b48c201 (patch)
treef72743a33a734822c97f4fdbacdcad644cae5771 /server
parent123d9659c155b649e8aa112e474760d3fe3b7301 (diff)
parent1332a578901ae131f7a2a8fffd566072e5440e46 (diff)
downloadwekan-b3bb03fed4c4ddef4492c40d79f7dc313b48c201.tar.gz
wekan-b3bb03fed4c4ddef4492c40d79f7dc313b48c201.tar.bz2
wekan-b3bb03fed4c4ddef4492c40d79f7dc313b48c201.zip
Merge branch 'moreFieldsColours' of https://github.com/rjevnikar/wekan into rjevnikar-moreFieldsColours
Diffstat (limited to 'server')
-rw-r--r--server/migrations.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/server/migrations.js b/server/migrations.js
index f877200a..640eae69 100644
--- a/server/migrations.js
+++ b/server/migrations.js
@@ -233,3 +233,28 @@ Migrations.add('add-custom-fields-to-cards', () => {
},
}, noValidateMulti);
});
+
+Migrations.add('add-requester-field', () => {
+ Cards.update({
+ requestedBy: {
+ $exists: false,
+ },
+ }, {
+ $set: {
+ requestedBy:'',
+ },
+ }, noValidateMulti);
+});
+
+Migrations.add('add-assigner-field', () => {
+ Cards.update({
+ assignedBy: {
+ $exists: false,
+ },
+ }, {
+ $set: {
+ assignedBy:'',
+ },
+ }, noValidateMulti);
+});
+