Added comments to the bugfix
This commit is contained in:
		@@ -1,6 +1,10 @@
 | 
			
		||||
import { Entity, ManyToOne, PrimaryColumn } from 'typeorm';
 | 
			
		||||
import { Address } from './Address';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * The interface(-ish) all entities using addresses have to implement.
 | 
			
		||||
 * This is a abstract class, because apparently typeorm can't really work with interfaces :/
 | 
			
		||||
 */
 | 
			
		||||
@Entity()
 | 
			
		||||
export abstract class IAddressUser {
 | 
			
		||||
    @PrimaryColumn()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user