Merge pull request #547 from OpenSignLabs/staging

refactor: remove extra comment
This commit is contained in:
prafull-opensignlabs
2025-04-27 06:50:12 +00:00
parent f95ea0b9e9
commit f3b79cb71f
@@ -10,11 +10,9 @@ async function ensureSchema(Parse, className, setupFn) {
try {
// If class exists, update it
await schema.update();
console.log(`✅ Updated schema for ${className}`);
} catch (e) {
// Otherwise, create it
await schema.save();
console.log(`✅ Created schema for ${className}`);
}
}
@@ -24,10 +22,7 @@ async function patchSchema(Parse, className, setupFn) {
setupFn(schema);
try {
await schema.update();
console.log(`🔄 Reverted schema for ${className}`);
} catch (e) {
console.warn(`⚠️ Skipping ${className} in down (not found)`);
}
} catch (e) {}
}
exports.up = async Parse => {