mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-17 21:25:54 +02:00
fix: update migration script add SendCompletionMail filed in contracts_Document class
This commit is contained in:
+2
@@ -7,6 +7,7 @@ exports.up = async Parse => {
|
||||
const className = 'contracts_Document';
|
||||
const schema = new Parse.Schema(className);
|
||||
schema.addBoolean('SendMail');
|
||||
schema.addBoolean('SendCompletionMail');
|
||||
// TODO: Set the schema here
|
||||
// Example:
|
||||
// schema.addString('name').addNumber('cash');
|
||||
@@ -23,6 +24,7 @@ exports.down = async Parse => {
|
||||
const className = 'contracts_Document';
|
||||
const schema = new Parse.Schema(className);
|
||||
schema.deleteField('SendMail');
|
||||
schema.deleteField('SendCompletionMail');
|
||||
|
||||
// TODO: Set the schema here
|
||||
// Example:
|
||||
|
||||
Reference in New Issue
Block a user