Removing code where no one knows where it comes from

This commit is contained in:
ogerly 2022-02-23 13:14:10 +01:00
parent b4d756d941
commit ff63706f51

View File

@ -4,14 +4,6 @@ import { TransactionSendCoin } from '../0001-init_db/TransactionSendCoin'
@Entity('transactions')
export class Transaction extends BaseEntity {
userId(userId: any) {
throw new Error('Method not implemented.')
}
amount(amount: any): number {
throw new Error('Method not implemented.')
}
// TODO the id is defined as bigint(20) - there might be problems with that: https://github.com/typeorm/typeorm/issues/2400
@PrimaryGeneratedColumn('increment', { unsigned: true })
id: number