Subd/server/seeders/seeder.ts

18 lines
627 B
TypeScript
Raw Normal View History

2024-04-23 12:08:46 +04:00
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);