Delete apps/OpenSignServer/package-lock.json

This commit is contained in:
prafull-opensignlabs
2025-12-08 11:45:29 +00:00
parent 334edb3c0c
commit 75a40fbf43
21 changed files with 336 additions and 175 deletions
@@ -18,8 +18,7 @@ export default async function createContactIndex() {
const migrationExists = await migrationCollection.findOne({ name: migrationName });
if (migrationExists) {
console.log(' INFO No migrations were executed, database schema was already up to date.');
console.log(' SUCCESS Successfully ran indexed migrations directly on db.');
console.log(' INFO The unqiue index for contracts_Contactbook is already present.');
return;
}
@@ -61,10 +60,9 @@ export default async function createContactIndex() {
// Insert the document
await migrationdb.insertOne(schemaDocument);
console.log(' Unique index created successfully.');
console.log(' SUCCESS Successfully ran indexed migrations directly on db.');
console.log(' SUCCESS The unqiue index for contracts_Contactbook is already created.');
} catch (error) {
console.log(' ERROR running indexed migration:', error);
console.log(' ERROR Running unqiue index for contracts_Contactbook migration:', error);
} finally {
await client.close();
}