mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-22 15:42:31 +02:00
22 lines
443 B
JavaScript
22 lines
443 B
JavaScript
/**
|
|
*
|
|
* @param {Parse} Parse
|
|
*/
|
|
exports.up = async Parse => {
|
|
const className = 'contracts_Document';
|
|
const schema = new Parse.Schema(className);
|
|
schema.addString('FileAdapterId');
|
|
return schema.update();
|
|
};
|
|
|
|
/**
|
|
*
|
|
* @param {Parse} Parse
|
|
*/
|
|
exports.down = async Parse => {
|
|
const className = 'contracts_Document';
|
|
const schema = new Parse.Schema(className);
|
|
schema.deleteField('FileAdapterId');
|
|
return schema.update();
|
|
};
|