import { Factory , Seeder } from "typeorm-seeding" ; import { User } from "../api/models/user.model" ; export class CreateUsersSeed implements Seeder { public async run ( factory ) { await factory ( User ) ( ) . createMany ( 5 ) ; } }