feat: implement comprehensive master data module with CRUD services, controllers, and entities
This commit is contained in:
@@ -16,10 +16,8 @@ async function bootstrap() {
|
||||
const tenants = await tenantService.seedDemoTenants();
|
||||
logger.log(`Seeded ${tenants.length} demo tenant(s)`);
|
||||
|
||||
for (const tenant of tenants) {
|
||||
await masterDataService.seedData(tenant.id);
|
||||
logger.log(`Master data ready for tenant: ${tenant.slug}`);
|
||||
}
|
||||
await masterDataService.seedData();
|
||||
logger.log('Master data ready (common across all tenants).');
|
||||
|
||||
logger.log('Seeding complete. Exiting...');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user