summaryrefslogtreecommitdiffstats
path: root/server/migrations.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-11-20 02:38:00 +0200
committerLauri Ojansivu <x@xet7.org>2018-11-20 02:38:00 +0200
commitdd6ba152a0b38950f82ec98fbe51fb746c402615 (patch)
tree694988c0e8c06d0c423d41a02b282c7ccc6f51a9 /server/migrations.js
parentcb9ced756fb9fd0f731fe194d732f21bcb156578 (diff)
downloadwekan-dd6ba152a0b38950f82ec98fbe51fb746c402615.tar.gz
wekan-dd6ba152a0b38950f82ec98fbe51fb746c402615.tar.bz2
wekan-dd6ba152a0b38950f82ec98fbe51fb746c402615.zip
Admin Panel / Layout: Hide Logo: Yes / No. This does hide Wekan logo on Login page and Board page. Thanks to xet7.
Diffstat (limited to 'server/migrations.js')
-rw-r--r--server/migrations.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/migrations.js b/server/migrations.js
index 5b9cc341..56d2858d 100644
--- a/server/migrations.js
+++ b/server/migrations.js
@@ -362,3 +362,15 @@ Migrations.add('add-product-name', () => {
},
}, noValidateMulti);
});
+
+Migrations.add('add-hide-logo', () => {
+ Settings.update({
+ hideLogo: {
+ $exists: false,
+ },
+ }, {
+ $set: {
+ hideLogo: false,
+ },
+ }, noValidateMulti);
+});