Browse Source

Add sort field to boards model

boeserwolf 5 years ago
parent
commit
2400c91013
1 changed files with 8 additions and 0 deletions
  1. 8 0
      models/boards.js

+ 8 - 0
models/boards.js

@@ -493,6 +493,14 @@ Boards.attachSchema(
       type: String,
       defaultValue: 'board',
     },
+    sort: {
+      /**
+       * Sort value
+       */
+      type: Number,
+      decimal: true,
+      defaultValue: -1,
+    },
   }),
 );