Merge branch 'master' into 'devops-production'
Master See merge request empatnusabangsa/ppob/ppob-backend!225
This commit is contained in:
commit
55043a4599
|
@ -45,7 +45,7 @@ import { MulterModule } from '@nestjs/platform-express';
|
||||||
password: configService.get<string>('database.password'),
|
password: configService.get<string>('database.password'),
|
||||||
database: configService.get<string>('database.name'),
|
database: configService.get<string>('database.name'),
|
||||||
entities: [],
|
entities: [],
|
||||||
synchronize: true,
|
synchronize: false,
|
||||||
autoLoadEntities: true,
|
autoLoadEntities: true,
|
||||||
logging: true,
|
logging: true,
|
||||||
namingStrategy: new SnakeNamingStrategy(),
|
namingStrategy: new SnakeNamingStrategy(),
|
||||||
|
|
|
@ -13,7 +13,11 @@ export class COA extends BaseModel {
|
||||||
@Column('text')
|
@Column('text')
|
||||||
balanceType: balanceType;
|
balanceType: balanceType;
|
||||||
|
|
||||||
@Column()
|
@Column({
|
||||||
|
type: 'numeric',
|
||||||
|
precision: 20,
|
||||||
|
scale: 2,
|
||||||
|
})
|
||||||
amount: number;
|
amount: number;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user