PIbd-23_Dyakonov_R_R_SUBD_P.../server/seeders/seeder.ts
2024-04-03 22:31:50 +04:00

18 lines
627 B
TypeScript

import { seedMessages } from "./seeders/message.seeder";
import { seedRoles } from "./seeders/role.seeder";
import { seedSections } from "./seeders/section.seeder";
import { seedThreads } from "./seeders/thread.seeder";
import { seedUsers } from "./seeders/user.seeder";
const rolesLength = 100;
const usersLength = 250;
const sectionsLength = 1000;
const threadsLength = 1000;
const messagesLength = 1000;
// seedRoles(rolesLength);
// seedUsers(usersLength, rolesLength);
// seedSections(sectionsLength);
// seedThreads(threadsLength, usersLength, sectionsLength);
seedMessages(messagesLength, threadsLength, usersLength);