remove unused
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
import { Entity, Index, Property, Collection, OneToMany, Cascade } from '@mikro-orm/core';
|
||||
import { BaseEntity } from '../../../common/entities/base.entity';
|
||||
import { Icon } from './icon.entity';
|
||||
|
||||
@Entity({ tableName: 'icon_groups' })
|
||||
export class Group extends BaseEntity {
|
||||
@Property()
|
||||
name!: string;
|
||||
|
||||
@OneToMany(() => Icon, icon => icon.group,{
|
||||
cascade: [Cascade.ALL],
|
||||
orphanRemoval: true,
|
||||
})
|
||||
icons = new Collection<Icon>(this);
|
||||
}
|
||||
Reference in New Issue
Block a user