summaryrefslogtreecommitdiff
path: root/lib/models
diff options
context:
space:
mode:
author蒼時弦也2017-01-10 14:13:30 +0800
committer蒼時弦也2017-01-10 14:13:30 +0800
commit7b02c48d93d05e3ced0a030a13d620559710c9cd (patch)
tree6efbae4ebf336c1d611180c1110aa7618b567b63 /lib/models
parentbe7696170fbfb9a0744a1400709479ac2e4c60e7 (diff)
Adjust permission order to more clarly
Diffstat (limited to '')
-rw-r--r--lib/models/note.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/note.js b/lib/models/note.js
index 47d9b97a..a6921267 100644
--- a/lib/models/note.js
+++ b/lib/models/note.js
@@ -23,7 +23,7 @@ var logger = require("../logger.js");
var ot = require("../ot/index.js");
// permission types
-var permissionTypes = ["freely", "editable", "locked", "private", "limited", "protected"];
+var permissionTypes = ["freely", "editable", "limited", "private", "protected", "locked"];
module.exports = function (sequelize, DataTypes) {
var Note = sequelize.define("Note", {