diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-11-20 10:38:11 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-06 19:04:25 +0800 |
commit | f3c28afedd6864e35a17245eb7c187d1c129c35a (patch) | |
tree | 92f7625ed39feffa1d91f499720552b2795a180b /packages/pipeline/src/entities/block.ts | |
parent | 80ab797d3ab409e29bcd9b99ddb57c14a5849a19 (diff) | |
download | dexon-sol-tools-f3c28afedd6864e35a17245eb7c187d1c129c35a.tar dexon-sol-tools-f3c28afedd6864e35a17245eb7c187d1c129c35a.tar.gz dexon-sol-tools-f3c28afedd6864e35a17245eb7c187d1c129c35a.tar.bz2 dexon-sol-tools-f3c28afedd6864e35a17245eb7c187d1c129c35a.tar.lz dexon-sol-tools-f3c28afedd6864e35a17245eb7c187d1c129c35a.tar.xz dexon-sol-tools-f3c28afedd6864e35a17245eb7c187d1c129c35a.tar.zst dexon-sol-tools-f3c28afedd6864e35a17245eb7c187d1c129c35a.zip |
Add script for pulling missing block data
Diffstat (limited to 'packages/pipeline/src/entities/block.ts')
-rw-r--r-- | packages/pipeline/src/entities/block.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pipeline/src/entities/block.ts b/packages/pipeline/src/entities/block.ts index 51be37703..f2efc6390 100644 --- a/packages/pipeline/src/entities/block.ts +++ b/packages/pipeline/src/entities/block.ts @@ -5,6 +5,6 @@ export class Block { @PrimaryColumn() public hash!: string; @PrimaryColumn() public number!: number; - @Column({ name: 'unix_timestamp_seconds' }) - public unixTimestampSeconds!: number; + @Column({ name: 'timestamp' }) + public timestamp!: number; } |