mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-28 18:59:44 +02:00
feat: implement autosave feature in signyourself
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
*
|
||||
* @param {Parse} Parse
|
||||
*/
|
||||
exports.up = async Parse => {
|
||||
const className = 'contracts_Document';
|
||||
const schema = new Parse.Schema(className);
|
||||
schema.addBoolean('IsSignyourself');
|
||||
return schema.update();
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Parse} Parse
|
||||
*/
|
||||
exports.down = async Parse => {
|
||||
const className = 'contracts_Document';
|
||||
const schema = new Parse.Schema(className);
|
||||
schema.deleteField('IsSignyourself');
|
||||
return schema.update();
|
||||
};
|
||||
Reference in New Issue
Block a user