1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

All: Utilities to create and encrypt master keys

This commit is contained in:
Laurent Cozic
2017-12-12 18:41:02 +00:00
parent e44975622a
commit 9bce52a92a
3 changed files with 74 additions and 7 deletions

View File

@@ -0,0 +1,16 @@
const { BaseModel } = require('lib/base-model.js');
const { BaseItem } = require('lib/models/base-item.js');
class MasterKey extends BaseItem {
static tableName() {
return 'master_keys';
}
static modelType() {
return BaseModel.TYPE_MASTER_KEY;
}
}
module.exports = MasterKey;