Made field decimal, forgot to use const, new migration
This commit is contained in:
@ -19,11 +19,11 @@ export class BaseSpriteAction extends BaseEntity {
|
||||
@Property({ type: 'json', nullable: true })
|
||||
sprites?: string[]
|
||||
|
||||
@Property()
|
||||
originX = 0
|
||||
@Property({ type: 'decimal', precision: 5, scale: 2 })
|
||||
originX = 0.00
|
||||
|
||||
@Property()
|
||||
originY = 0
|
||||
@Property({ type: 'decimal', precision: 5, scale: 2 })
|
||||
originY = 0.00
|
||||
|
||||
@Property()
|
||||
frameWidth = 0
|
||||
|
Reference in New Issue
Block a user