Create concept of currency in the database #209
2 changed files with 3 additions and 3 deletions
|
@ -12,10 +12,10 @@ export default class User extends AppBaseEntity {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
UserId: string;
|
UserId: string;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
Currency: number;
|
Currency: number;
|
||||||
|
|
||||||
public UpdateCurrency(currency: number) {
|
public UpdateCurrency(currency: number) {
|
||||||
this.Currency = currency;
|
this.Currency = currency;
|
||||||
|
|
|
@ -9,7 +9,7 @@ export class User1713289062969 implements MigrationInterface {
|
||||||
], queryRunner);
|
], queryRunner);
|
||||||
}
|
}
|
||||||
|
|
||||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
public async down(): Promise<void> {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue