// import type { EntityManager } from '@mikro-orm/core'; // import { attributeValueData } from './data/attribute-value.data'; // export class AttributeValueSeeder { // async run( // em: EntityManager, // ): Promise { // const attributes = await em.findAll(Attribute) // for (const attr of attributes) { // const attrValues = attributeValueData.filter(a => a.attributeName === attr.name) // for (const av of attrValues) { // const a= em.create(AttributeValue, { // value: av.value, // attribute: attr // }); // em.persist(a) // } // } // await em.flush(); // } // }