migrate db changes (#199)

This commit is contained in:
prafull-opensignlabs
2023-11-17 18:29:41 +05:30
committed by GitHub
parent 823e6a9e2f
commit 3cfa2639e5
4 changed files with 16 additions and 31 deletions
@@ -32,18 +32,6 @@ exports.up = async Parse => {
});
return schema.update();
// const config = new Config(process.env.APP_ID, process.env.PARSE_MOUNT);
// const schema = await config.database.loadSchema();
// await schema.setPermissions('myclass', {
// get: { requiresAuthentication: true },
// find: { requiresAuthentication: true },
// count: { requiresAuthentication: true },
// create: { requiresAuthentication: true },
// update: { requiresAuthentication: true },
// delete: { requiresAuthentication: true },
// addField: {},
// });
};
/**