added packages into dockploy 5

This commit is contained in:
2026-09-10 17:51:37 +03:30
parent 69017e785e
commit 24c24e03fb
6 changed files with 9608 additions and 2 deletions
+6
View File
@@ -18,6 +18,12 @@ import * as bcrypt from 'bcryptjs';
const prisma = new PrismaClient();
async function main() {
const existingAdmins = await prisma.adminUser.count();
if (existingAdmins > 0 && process.env.RUN_SEED !== 'force') {
console.log('Seed skipped; admin users already exist');
return;
}
console.log('Seeding fabric_trade database...');
await prisma.productFavorite.deleteMany();