good forst commit

This commit is contained in:
2026-06-09 02:02:40 +05:30
parent 801c1d7121
commit 249d759e6a
215 changed files with 15425 additions and 1240 deletions
+9
View File
@@ -0,0 +1,9 @@
import { PrismaClient } from '@prisma/client';
const p = new PrismaClient();
(async () => {
const tenants = await p.tenant.findMany({ select: { id: true, slug: true, name: true } });
const admins = await p.admin.findMany({ select: { id: true, email: true, role: true, tenant: { select: { slug: true } } } });
console.log('TENANTS:', JSON.stringify(tenants, null, 2));
console.log('ADMINS:', JSON.stringify(admins, null, 2));
await p.$disconnect();
})();